mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-09 04:54:16 +00:00
Remove pylint
This commit is contained in:
parent
d19360c179
commit
8be6f4c77e
5 changed files with 1 additions and 29 deletions
|
|
@ -4,7 +4,7 @@ from __future__ import unicode_literals
|
||||||
import argparse
|
import argparse
|
||||||
import os
|
import os
|
||||||
|
|
||||||
from six.moves import configparser # pylint: disable=import-error
|
from six.moves import configparser
|
||||||
|
|
||||||
|
|
||||||
def get_your_keys(credentials_file):
|
def get_your_keys(credentials_file):
|
||||||
|
|
|
||||||
22
pylintrc
22
pylintrc
|
|
@ -1,22 +0,0 @@
|
||||||
[MESSAGES CONTROL]
|
|
||||||
disable=bad-open-mode,invalid-name,missing-docstring,redefined-outer-name,star-args,locally-disabled,locally-enabled
|
|
||||||
|
|
||||||
[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
|
|
||||||
|
|
||||||
[SIMILARITIES]
|
|
||||||
min-similarity-lines=5
|
|
||||||
ignore-imports=yes
|
|
||||||
|
|
@ -1,9 +1,7 @@
|
||||||
-e .
|
-e .
|
||||||
|
|
||||||
astroid<1.3.3
|
|
||||||
coverage
|
coverage
|
||||||
flake8
|
flake8
|
||||||
mock
|
mock
|
||||||
pre-commit
|
pre-commit
|
||||||
pylint<1.4
|
|
||||||
pytest
|
pytest
|
||||||
|
|
|
||||||
|
|
@ -12,9 +12,6 @@ from testing.util import get_resource_path
|
||||||
from testing.util import write_file
|
from testing.util import write_file
|
||||||
|
|
||||||
|
|
||||||
# pylint:disable=unused-argument
|
|
||||||
|
|
||||||
|
|
||||||
@pytest.yield_fixture
|
@pytest.yield_fixture
|
||||||
def f1_is_a_conflict_file(tmpdir):
|
def f1_is_a_conflict_file(tmpdir):
|
||||||
# Make a merge conflict
|
# Make a merge conflict
|
||||||
|
|
|
||||||
1
tox.ini
1
tox.ini
|
|
@ -12,7 +12,6 @@ commands =
|
||||||
coverage report --show-missing --fail-under 100
|
coverage report --show-missing --fail-under 100
|
||||||
pre-commit install -f --install-hooks
|
pre-commit install -f --install-hooks
|
||||||
pre-commit run --all-files
|
pre-commit run --all-files
|
||||||
pylint {[tox]project} testing tests setup.py
|
|
||||||
|
|
||||||
[testenv:venv]
|
[testenv:venv]
|
||||||
envdir = venv-{[tox]project}
|
envdir = venv-{[tox]project}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue