mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-01-13 20:40:08 -06:00
Merge pull request #373 from pre-commit/not_using_pylint
We're not using pylint
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
from __future__ import unicode_literals
|
||||
|
||||
# pylint:disable=invalid-name
|
||||
PY2 = str is bytes
|
||||
PY3 = str is not bytes
|
||||
|
||||
|
||||
19
pylintrc
19
pylintrc
@@ -1,19 +0,0 @@
|
||||
[MESSAGES CONTROL]
|
||||
disable=locally-disabled,fixme,missing-docstring,abstract-method,useless-else-on-loop,invalid-name
|
||||
|
||||
[REPORTS]
|
||||
output-format=colorized
|
||||
reports=no
|
||||
|
||||
[BASIC]
|
||||
const-rgx=(([A-Za-z_][A-Za-z0-9_]*)|(__.*__))$
|
||||
|
||||
[FORMAT]
|
||||
max-line-length=131
|
||||
|
||||
[TYPECHECK]
|
||||
ignored-classes=pytest
|
||||
|
||||
[DESIGN]
|
||||
min-public-methods=0
|
||||
|
||||
@@ -1,10 +1,8 @@
|
||||
-e .
|
||||
|
||||
astroid<1.3.3
|
||||
coverage
|
||||
flake8
|
||||
mock
|
||||
pylint<1.4
|
||||
pytest
|
||||
|
||||
# setuptools breaks pypy3 with extraneous output
|
||||
|
||||
@@ -457,9 +457,9 @@ def test_local_hook_for_stages(
|
||||
config = OrderedDict((
|
||||
('repo', 'local'),
|
||||
('hooks', (OrderedDict((
|
||||
('id', 'pylint'),
|
||||
('id', 'flake8'),
|
||||
('name', 'hook 1'),
|
||||
('entry', 'python -m pylint.__main__'),
|
||||
('entry', 'python -m flake8.__main__'),
|
||||
('language', 'system'),
|
||||
('files', r'\.py$'),
|
||||
('stages', stage_for_first_hook)
|
||||
@@ -491,9 +491,9 @@ def test_local_hook_passes(repo_with_passing_hook, mock_out_store_directory):
|
||||
config = OrderedDict((
|
||||
('repo', 'local'),
|
||||
('hooks', (OrderedDict((
|
||||
('id', 'pylint'),
|
||||
('name', 'PyLint'),
|
||||
('entry', 'python -m pylint.__main__'),
|
||||
('id', 'flake8'),
|
||||
('name', 'flake8'),
|
||||
('entry', 'python -m flake8.__main__'),
|
||||
('language', 'system'),
|
||||
('files', r'\.py$'),
|
||||
)), OrderedDict((
|
||||
|
||||
Reference in New Issue
Block a user