Commit Graph

28 Commits

Author SHA1 Message Date
Pierre Sassoulas
5e5f2427c8 Upgrade pre-commit configuration
The order is important for efficiency.
2021-04-04 10:49:08 +02:00
Pierre Sassoulas
7d5268da6f Upgrade flake8 to 3.9.0 from 3.8.4 2021-03-15 22:09:56 +01:00
Pierre Sassoulas
e86d859b79 Create subdirectory for crowded functional tests 2021-03-07 20:51:46 +01:00
Marc Mueller
04937c3098
Typing changes + disable unused pylint plugin for pre-commit (#4205) 2021-03-07 16:49:57 +01:00
Pierre Sassoulas
1f7b77b7f5 Simplify the 'tox -e pylint' job with pre-commit 2021-03-07 10:39:07 +01:00
Pierre Sassoulas
f8e7b1342b Fix pre-commit pylint command 2021-03-07 10:39:07 +01:00
Pierre Sassoulas
c85d202a23 Remove all fmt off from the codebase 2021-03-06 13:22:08 +01:00
Marc Mueller
90c915c3f8 Add custom fix-documentation pre-commit-hook 2021-03-06 09:08:33 +01:00
Marc Mueller
b10e05b632 Update mypy pre-commit hook 2021-02-28 21:52:27 +01:00
Pierre Sassoulas
a1e553d3bb Add pyupgrade to the pre-commit configuration 2021-02-21 15:36:16 +01:00
Marc Mueller
ad631537bd Add Github Action config
* Add changlog entry
* Includes review changes
2021-02-20 15:08:49 +01:00
Pierre Sassoulas
01ee918094 Add flake8 to the pre-commit configuration 2021-02-15 21:14:28 +01:00
Pierre Sassoulas
dcb0e5749c Autoupdate pre-commit hook in pre-commit configuration 2021-02-15 20:09:05 +01:00
Pierre Sassoulas
c75b8885c1 Add mypy in pre-commit and modify the tox job accordingly 2021-02-07 10:28:18 +01:00
Pierre Sassoulas
dd5612fc74 Ignore pylint linting error in the 'doc/' directory 2020-12-14 16:09:19 +01:00
Pierre Sassoulas
60d4f77d83 Add proper exclusion in pre-commit configuration
Permit to use "pre-commit run --all-files" as exec
during interactive rebasing.
2020-12-14 09:34:34 +01:00
Pierre Sassoulas
637597c96f Add pylint to the pre-commit configuration
It's faster than 'tox -e pylint'
2020-11-28 16:09:53 +01:00
Thomas Grainger
24ce55222f Add autoflake to pre-commit and reorder the check
Co-Authored-By: Pierre Sassoulas <pierre.sassoulas@gmail.com>
2020-09-22 22:47:05 +02:00
Pierre Sassoulas
9ed9065e19 Make tool from pre-commit coherent with tox -e formatting 2020-09-10 23:23:11 +02:00
Djailla
0ed3782d7a Also update black and isort in pre-commit config 2019-11-18 10:24:54 +01:00
Pierre Sassoulas
9c3ad2cfa0 [functional tests] Modify expected result after moving files 2019-09-10 11:20:16 +02:00
Pierre Sassoulas
e44f83e22a [pre-commit] More precise exclusion for black
Probably broken when we moved the test from pylint/test to
tests/.
2019-07-22 12:39:50 +02:00
Anthony Sottile
c26bd45edb fix old-division check for int(...) (#2892) 2019-04-30 11:08:25 +02:00
Pierre Sassoulas
30b2ae713e Feat - Add an isort formatting check in the tox.ini
Permit to verify the formatting of future commit.
Following review see : https://github.com/PyCQA/pylint/pull/2805#discussion_r266793201
2019-03-20 09:07:35 +01:00
Pierre Sassoulas
a422e97508 Chore - Update black and pre-commit in configuration 2019-03-20 09:07:35 +01:00
Pierre Sassoulas
2ca40bf161 Feat - Add isort in the pre-commit configuration
This is compatible with the current black configuration.
See : https://github.com/ambv/black/issues/127
2019-03-20 09:07:35 +01:00
Claudiu Popa
1326aa56c1 Exclude the relevant directories from black 2018-09-18 09:19:43 +02:00
Claudiu Popa
40fd5cbed3 Add the precommit configuration 2018-09-17 09:15:50 +02:00