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