Skip to content

Commit

Permalink
Fix tests, update authors.
Browse files Browse the repository at this point in the history
  • Loading branch information
klen committed Jun 26, 2017
1 parent f2f3e34 commit 5d8a878
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 30 deletions.
2 changes: 2 additions & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@ Contributors:
* Ankur Dedania (https://github.com/AbsoluteMSTR)
* Daniel Hahler (https://github.com/blueyed)
* Daniel O'onnell' (https://github.com/mruwnik)
* Diego Rabatone Oliveira (https://github.com/diraol)
* Fábio C. Barrionuevo da Luz (https://github.com/luzfcb)
* Grzegorz Śliwiński (https://github.com/fizyk)
* Jarek Śmiejczak (https://github.com/jotes)
* Jens Persson (https://github.com/MrShark)
* Johan Bloemberg (https://github.com/aequitas)
* Michael (https://github.com/michael-k)
* Serg Baburin (https://github.com/gmist)
* Tomasz Karbownicki (https://github.com/trojkat)
* lukaszpiotr (https://github.com/lukaszpiotr)
1 change: 1 addition & 0 deletions pylama/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ def parse_linters(linters):


def get_default_config_file(rootdir=None):
"""Search for configuration file."""
if rootdir is None:
return DEFAULT_CONFIG_FILE

Expand Down
6 changes: 3 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Test requirements

mccabe >= 0.5.2
pycodestyle >= 2.0.0
pydocstyle >= 1.1.1
pyflakes >= 1.3.0
pycodestyle >= 2.3.1
pydocstyle >= 2.0.0
pyflakes >= 1.5.0
# radon >= 1.4.2
27 changes: 27 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,30 @@ universal = 1

[wheel]
universal = 1

[pylama]
async = 1
ignore = D203,D213,F0401,C0111,E731,I0011
linters = pycodestyle,pyflakes,mccabe,pydocstyle,pylint
paths = pylama
skip = pylama/inirama.py,pylama/libs/*
verbose = 0

[pylama:pyflakes]
builtins = _

[pylama:pylint]
disable=R0921,E1002
max-line-length = 100

[pylama:pycodestyle]
max_line_length = 100

[pylama:pylama/core.py]
ignore = C901,R0914

[pylama:pylama/main.py]
ignore = R0914,W0212,C901,E1103

[pylama:test_pylama.py]
ignore = D,E1103
27 changes: 0 additions & 27 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -20,30 +20,3 @@ deps =
commands =
coverage run --source pylama -m py.test test_pylama.py
coverage report

[pylama]
async = 1
ignore = D203,D213,F0401,C0111,E731
linters = pycodestyle,pyflakes,mccabe,pydocstyle,pylint
paths = pylama
skip = pylama/inirama.py,pylama/libs/*
verbose = 0

[pylama:pyflakes]
builtins = _

[pylama:pylint]
disable=R0921,E1002
max-line-length = 100

[pylama:pycodestyle]
max_line_length = 100

[pylama:pylama/core.py]
ignore = C901,R0914

[pylama:pylama/main.py]
ignore = R0914,W0212,C901,E1103

[pylama:test_pylama.py]
ignore = D,E1103

0 comments on commit 5d8a878

Please sign in to comment.