Граф коммитов

12 Коммитов

Автор SHA1 Сообщение Дата
renovate[bot] d6ba99312c
Update dependency prettier to v2 (#6323)
* Update dependency prettier to v2
* Automatic prettier fixes

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Armen Zambrano G <armenzg@mozilla.com>
2020-04-30 15:40:38 -04:00
Armen Zambrano a0094c065d
pre-commit: Fix Markdown issues uppon commit (#6303) 2020-04-13 13:11:10 -04:00
Kyle Lahnakoski 53a806d3cc
Test integrate black (#6277)
* Configuration for black

* changes congiguration

* change pyproject's directory

* add files to be excluded and skip string normalization

* removed isort from pre-commit

* remove version locks for black

* fix

* remove all isort

* update requirements

Co-authored-by: SuyashSalampuria <suyash546@gmail.com>
Co-authored-by: Kyle Lahnakoski <kyle@lahnakoski.com>
2020-04-08 14:47:37 -04:00
Shubham Kumar 10a2040774 Add markdownlint pre-commit hook and fixed docs
We also add it as part of the Travis execution.
2020-04-07 09:41:54 -04:00
Shubhank Saxena c7f9fbb5de
Add seed-isort-config hook (#6182) 2020-04-07 08:14:36 -04:00
Sarah Clements 29ffbe0ae2
Revert "Run markdown checks in Travis and add it as a pre-commit hook (#6236)" (#6269)
This reverts commit bf67e894b7.
2020-04-03 16:41:16 -04:00
Shubham Kumar bf67e894b7
Run markdown checks in Travis and add it as a pre-commit hook (#6236)
Closes #6185 

- Add markdownlint default rules
- Add `pre-commit` in `dev.txt` with proper hashing required when running Travis
- Add hook in `.pre-commit-config.yaml`
- Refer [here](https://github.com/igorshubovych/markdownlint-cli) for documentation
2020-04-03 09:50:26 -04:00
Armen Zambrano d828191f89
Fix pre-commit's isort (#6134)
`isort` as part of the pre-commit set up ends up under `$HOME/.cache/pre-commit`.

Due to that, it was unable to determine the path to the `setup.cfg` and was
unable to differentiate third party libraries from first party libraries.

Specifiying where the path to the default virtualenv is fixes it.
2020-03-12 09:26:49 -04:00
Shubhank Saxena bfcbac77d4
Add prettier pre commit hook (#6108) 2020-03-06 09:43:59 -05:00
Armen Zambrano 2562f9d8dd
shellcheck pre-commit (#6101) 2020-03-04 11:47:22 -05:00
Armen Zambrano G ba023d5358 pre-commit: Run shellcheck tests 2020-03-04 10:01:23 -05:00
Shubhank Saxena 205871c75a
Add pre-commit flake8/isort checks (#6058)
After setting up the pre-commit hooks you will get `flake8` and `isort` checks.

Co-authored-by: Armen Zambrano <armenzg@users.noreply.github.com>
2020-02-28 09:39:18 -05:00