Marco Castelluccio
70588880d1
Update pre-commit repositories
2021-11-29 11:37:01 +01:00
Marco Castelluccio
190c2cf226
Update pre-commit repositories
2021-09-14 14:56:40 +02:00
Marco Castelluccio
52e8102298
Update pre-commit repositories
2021-07-05 11:05:32 +02:00
Marco Castelluccio
dec13e3042
Update mypy version used in pre-commit and install packages containing type hints for some libraries
2021-06-15 10:23:38 +02:00
Marco Castelluccio
1a35a5eebf
Use yaml list format for flake8 additional dependencies
2021-06-15 10:06:43 +02:00
Marco Castelluccio
7259ed4b66
Update pre-commit repositories
2021-06-15 10:05:40 +02:00
Marco Castelluccio
67e2f1be3d
Update pre-commit repositories
2021-05-27 17:28:31 +02:00
Marco Castelluccio
f301071d6e
Update pre-commit repositories
2021-04-02 20:06:34 +02:00
Marco Castelluccio
fc2c37849d
Bring back storing functions touched by commits
...
Fixes a regression from 43e1ad10ee
2021-02-03 12:44:41 +01:00
Marco Castelluccio
5cec5db147
Update pre-commit repositories
2021-01-05 01:28:27 +01:00
Marco Castelluccio
526ff6ccc1
Enable Prettier for JavaScript, HTML, CSS, yaml, Markdown ( #2006 )
...
Fixes #2006
2020-12-17 18:13:49 +01:00
Marco Castelluccio
c6db1b4a37
Update pre-commit repositories
2020-08-27 16:04:35 +02:00
Marco Castelluccio
93bb633cc7
Don't specify the exact Python 3 version to use with pre-commit
2020-06-10 15:39:13 +02:00
Marco Castelluccio
3436ba53d5
Run type checking on test files too
2020-06-09 18:35:43 +02:00
Marco Castelluccio
f584902882
Use Python 3.8 for pre-commit
2020-06-09 01:53:21 +02:00
Marco Castelluccio
e0bc6777e8
Update pre-commit repositories
2020-06-05 18:45:12 +02:00
Marco Castelluccio
d8fa27f0a0
Update pre-commit repositories
2020-05-22 22:33:23 +02:00
Marco Castelluccio
99dd97cbfe
Update pre-commit taskcluster_yml_validator dependency
2020-05-09 12:04:25 +02:00
Marco Castelluccio
ab60805d43
Update pre-commit isort dependency
2020-05-08 16:16:13 +02:00
Marco Castelluccio
53b180142a
Add a pre-commit hook to check all VCS links are permalinks
2020-05-08 13:25:21 +02:00
Marco Castelluccio
c4f1be3e4a
Enable type checking in scripts too
2020-04-07 12:08:30 +02:00
Marco Castelluccio
c184ade2c3
Update pre-commit repositories
2020-04-02 21:53:03 +02:00
Marco Castelluccio
4f106f4879
Switch to official isort repository for pre-commit
2020-04-02 21:52:31 +02:00
Bastien Abadie
0eb7f91a23
Use the new bugbug_http module, fixing tests and docker build
2020-02-28 10:49:40 +01:00
Marco Castelluccio
d4e21b2d65
Update pre-commit repositories
2020-02-26 11:22:43 +01:00
Marco Castelluccio
538f426239
Update pre-commit configuration
2020-01-10 21:43:43 +01:00
Marco Castelluccio
245fb848a5
Add a pre-commit hook which runs the mypy static type checker
2019-12-08 13:24:00 +01:00
Marco Castelluccio
acb0f5fd54
Add a pre-commit hook to remove unneeded noqas
2019-12-08 13:01:17 +01:00
Marco Castelluccio
9aff04a38a
Add a few more pre-commit simple checkers
...
Disable the check-hooks-apply rule as it's not so useful. We want
to be able to add future-proof hooks.
2019-12-08 12:59:49 +01:00
Marco Castelluccio
88ea7c2594
Update taskcluster_yml_validator version in pre-commit configuration
2019-11-14 18:50:11 +01:00
Marco Castelluccio
61754bdb8f
Update pre-commit configuration
2019-10-29 17:56:34 +01:00
Marco Castelluccio
389f6dbbd4
Update pre-commit configuration
2019-09-13 11:04:53 +02:00
Adrian-Tamas
625889c9e4
Rearrange requirements alphabetically ( #943 )
...
And add a pre-commit hook to enforce it
2019-09-11 12:41:06 +02:00
Marco Castelluccio
02393c47e3
Update pre-commit repositories
2019-07-17 12:26:24 +02:00
Marco
3963268a16
Add .taskcluster.yml validator as a pre-commit check ( #567 )
2019-06-13 18:41:04 +02:00
Boris Feld
0b43d289ac
Fix default Python version declaration in pre-commit config ( #584 )
...
* Fix default Python version declaration in pre-commit config
The new way of of declaring default Python version was introduced in
pre-commit 1.14.0 and warning about unknown config keys was introduced in
pre-commit 1.17.0.
2019-06-13 13:15:53 +02:00
Marco Castelluccio
88675b10f3
Update pre-commit repos
2019-06-11 16:10:26 +02:00
Marco Castelluccio
70cdf678ef
Use codespell v1.15.0
2019-06-11 16:08:28 +02:00
Marco Castelluccio
f2e6c23ea9
Add some meta checker hooks
2019-06-08 21:24:22 +02:00
Marco
8a5795417a
Add a pre-commit hook using codespell ( #411 )
...
* Add a pre-commit hook using codespell
Fixes #410
* Fix some spelling mistakes
2019-05-16 17:24:18 +02:00
Marco Castelluccio
95fce92f0f
Add a pre-commit hook to check validity of JSON files
2019-05-14 20:34:12 +02:00
Marco Castelluccio
2ffbd2e259
Update pre-commit hook repos
2019-05-14 17:33:03 +02:00
Marco Castelluccio
c2664a4093
Add a few more pre-commit checks
2019-05-14 17:30:45 +02:00
Boris Feld
2d5a646784
Add Flake8 to the pre-commit, so we ensure commits are Flake8 happy ( #255 )
2019-04-09 18:02:36 +02:00
Boris Feld
bad6a50d8b
Pre commit setup ( #252 )
...
* Add pre-commit configuration
Add auto-formatting configuration using the https://pre-commit.com/ project.
Having auto-formatting setup and automatically enforced helps speeding up
development and review process.
* Apply the auto-formatting on all files in the repository
* Removes flake8-quotes as it conflicts with Black formatting
* Disable some Flake8 rules
Disable Flake8 rules that are handled by Black. The list comes from
https://github.com/ambv/black/issues/429#issuecomment-472687803 .
2019-04-09 15:57:29 +02:00