Skip to content

Commit 83d132e

Browse files
committed
Updated config files
1 parent 804b4a7 commit 83d132e

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

.isort.cfg

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ default_section = THIRDPARTY
1515
;no_lines_before=LOCALFOLDER
1616
known_third_party =
1717
IPython
18+
astroid
1819
coverage
1920
coverage_pyver_pragma
2021
github
@@ -26,3 +27,5 @@ known_third_party =
2627
pytest-rerunfailures
2728
requests
2829
known_first_party = notebook2script
30+
float_to_top = True
31+
remove_redundant_aliases = True

notebook2script/requirements.txt

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

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
astroid>=2.4.0,<=2.5
12
IPython >= 7.14.0
23
nbconvert >= 5.6.1
34
pylint >=2.5.2

tox.ini

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ deps = -r{toxinidir}/requirements.txt
4040
commands = sphinx-build -M html . ./build {posargs}
4141

4242

43-
4443
[testenv:bumpversion]
4544
skip_install = true
4645
deps = bump2version
@@ -75,7 +74,6 @@ deps =
7574
flake8-docstrings
7675
git+https://github.com/domdfcoding/flake8-rst-docstrings.git
7776
flake8-builtins
78-
flake8-walrus
7977
pygments
8078
git+https://github.com/domdfcoding/flake8-quotes.git
8179
commands = flake8 notebook2script tests
@@ -95,7 +93,7 @@ basepython = python3.6
9593
skip_install = true
9694
ignore_errors = true
9795
changedir = {toxinidir}
98-
deps = git+https://github.com/timothycrosley/isort.git@6ffdc23d95e27f8a3637a1b77c7049ed62222272
96+
deps = isort >=5.1.0
9997
commands = isort notebook2script tests
10098

10199

@@ -161,7 +159,7 @@ commands =
161159

162160
[flake8]
163161
max-line-length = 120
164-
select = E301 E303 E304 E305 E306 E502 W291 W293 W391 E226 E225 E241 E231 W292 E265 E101 E111 E112 E113 E121 E122 E125 E127 E128 E129 E131 E133 E201 E202 E203 E211 E222 E223 E224 E225 E227 E228 E242 E251 E261 E262 E271 E272 E402 E703 E711 E712 E713 E714 E721 W504 E302 YTT101 YTT102 YTT103 YTT201 YTT202 YTT203 YTT204 YTT301 YTT302 YTT303 STRFTIME001 STRFTIME002 PT001 PT002 PT003 PT004 PT005 PT006 PT007 PT008 PT009 PT010 PT011 PT012 PT013 PT014 PT015 PT016 PT017 PT018 PT019 PT020 PT021 RST201 RST202 RST203 RST204 RST205 RST206 RST207 RST208 RST210 RST211 RST212 RST213 RST214 RST215 RST216 RST217 RST218 RST219 RST299 RST301 RST302 RST303 RST304 RST305 RST306 RST399 RST401 RST499 RST900 RST901 RST902 RST903 Q000 Q001 Q002 Q003 A001 A002 A003 ASN001 D100 D101 D102 D103 D104 D106 D201 D204 D207 D208 D209 D210 D211 D212 D213 D214 D215 D300 D301 D400 D402 D403 D404 D415 D417
162+
select = E301 E303 E304 E305 E306 E502 W291 W293 W391 E226 E225 E241 E231 W292 E265 E101 E111 E112 E113 E121 E122 E125 E127 E128 E129 E131 E133 E201 E202 E203 E211 E222 E223 E224 E225 E227 E228 E242 E251 E261 E262 E271 E272 E402 E703 E711 E712 E713 E714 E721 W504 E302 YTT101 YTT102 YTT103 YTT201 YTT202 YTT203 YTT204 YTT301 YTT302 YTT303 STRFTIME001 STRFTIME002 PT001 PT002 PT003 PT004 PT005 PT006 PT007 PT008 PT009 PT010 PT011 PT012 PT013 PT014 PT015 PT016 PT017 PT018 PT019 PT020 PT021 RST201 RST202 RST203 RST204 RST205 RST206 RST207 RST208 RST210 RST211 RST212 RST213 RST214 RST215 RST216 RST217 RST218 RST219 RST299 RST301 RST302 RST303 RST304 RST305 RST306 RST399 RST401 RST499 RST900 RST901 RST902 RST903 Q000 Q001 Q002 Q003 A001 A002 A003 D100 D101 D102 D103 D104 D106 D201 D204 D207 D208 D209 D210 D211 D212 D213 D214 D215 D300 D301 D400 D402 D403 D404 D415 D417
165163
exclude = .git,__pycache__,doc-source,old,build,dist,make_conda_recipe.py,__pkginfo__.py,setup.py
166164
rst-roles =
167165
class,

0 commit comments

Comments
 (0)