Skip to content

Commit 6654fee

Browse files
committed
Merge pull request pre-commit#373 from pre-commit/not_using_pylint
We're not using pylint
2 parents 7c213f4 + efe33ff commit 6654fee

File tree

5 files changed

+5
-28
lines changed

5 files changed

+5
-28
lines changed

pre_commit/five.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
from __future__ import unicode_literals
22

3-
# pylint:disable=invalid-name
43
PY2 = str is bytes
54
PY3 = str is not bytes
65

pylintrc

Lines changed: 0 additions & 19 deletions
This file was deleted.

requirements-dev.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
-e .
22

3-
astroid<1.3.3
43
coverage
54
flake8
65
mock
7-
pylint<1.4
86
pytest
97

108
# setuptools breaks pypy3 with extraneous output

tests/commands/run_test.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -457,9 +457,9 @@ def test_local_hook_for_stages(
457457
config = OrderedDict((
458458
('repo', 'local'),
459459
('hooks', (OrderedDict((
460-
('id', 'pylint'),
460+
('id', 'flake8'),
461461
('name', 'hook 1'),
462-
('entry', 'python -m pylint.__main__'),
462+
('entry', 'python -m flake8.__main__'),
463463
('language', 'system'),
464464
('files', r'\.py$'),
465465
('stages', stage_for_first_hook)
@@ -491,9 +491,9 @@ def test_local_hook_passes(repo_with_passing_hook, mock_out_store_directory):
491491
config = OrderedDict((
492492
('repo', 'local'),
493493
('hooks', (OrderedDict((
494-
('id', 'pylint'),
495-
('name', 'PyLint'),
496-
('entry', 'python -m pylint.__main__'),
494+
('id', 'flake8'),
495+
('name', 'flake8'),
496+
('entry', 'python -m flake8.__main__'),
497497
('language', 'system'),
498498
('files', r'\.py$'),
499499
)), OrderedDict((

tox.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ commands =
1111
coverage run -m pytest {posargs:tests}
1212
# TODO: when dropping py26, change to 100
1313
coverage report --show-missing --fail-under 99
14-
# pylint {[tox]project} testing tests setup.py
1514
pre-commit run --all-files
1615

1716
[testenv:venv]

0 commit comments

Comments
 (0)