Commit Graph

64 Commits

Author SHA1 Message Date
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