Skip to content

Commit a11b1e6

Browse files
akbakb
authored andcommitted
Conform to linters
1 parent 76206f9 commit a11b1e6

File tree

6 files changed

+18
-5
lines changed

6 files changed

+18
-5
lines changed

MANIFEST.in

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,14 @@ include README.rst
1717
include tox.ini .travis.yml appveyor.yml
1818

1919
global-exclude *.py[cod] __pycache__ *.so *.dylib
20+
21+
22+
include *.in
23+
include *.toml
24+
include *.txt
25+
include *.yaml
26+
include mypy.ini
27+
include pycli
28+
include .pylintrc
29+
include changelog.d
30+
include changelog.d/towncrier_template.rst

dev-requirements.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,4 @@ isort
1515
mypy
1616
pytest-sphinx
1717
towncrier
18+
flake8

dev-requirements.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,16 @@ click==7.0 # via black, cuvner, towncrier
1818
coverage==4.5.3
1919
cuvner==18.0.1
2020
docutils==0.14
21+
entrypoints==0.3 # via flake8
2122
filelock==3.0.12 # via tox
23+
flake8==3.7.8
2224
importlib-metadata==0.18 # via pluggy, pytest, tox
2325
incremental==17.5.0 # via cuvner, towncrier
2426
isort==4.3.21
2527
jinja2==2.10.1 # via towncrier
2628
lazy-object-proxy==1.4.1 # via astroid
2729
markupsafe==1.1.1 # via jinja2
28-
mccabe==0.6.1 # via pylint
30+
mccabe==0.6.1 # via flake8, pylint
2931
more-itertools==7.1.0 # via pytest
3032
mypy-extensions==0.4.1 # via mypy
3133
mypy==0.720
@@ -34,6 +36,8 @@ pathtools==0.1.2 # via watchdog
3436
pex==1.6.8
3537
pluggy==0.12.0 # via pytest, tox
3638
py==1.8.0 # via pytest, tox
39+
pycodestyle==2.5.0 # via flake8
40+
pyflakes==2.1.1 # via flake8
3741
pygments==2.4.2
3842
pylint==2.3.1
3943
pyparsing==2.4.0 # via packaging

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ default_section = THIRDPARTY
3131
forced_separate = test_mario_addons
3232
not_skip = __init__.py
3333
skip = migrations
34-
known_third_party=click,mario,pytest,requests,setuptools,toml
34+
known_third_party=click,mario,pytest,requests,setuptools
3535
ignore =
3636
.flake8
3737
dev-requirements.in

src/mario_addons/plugins/addons.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
import csv
2-
import importlib.resources
32
import typing as t
43

5-
import toml
64
from mario import plug
75

86

tox.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ skip_install = true
4747
commands =
4848
python setup.py check --strict --metadata --restructuredtext
4949
check-manifest {toxinidir}
50-
flake8 src tests setup.py
5150
isort --verbose --check-only --diff --recursive src tests setup.py
5251

5352
[testenv:spell]

0 commit comments

Comments
 (0)