Browse Source

flake8: add import-order linting config

pull/3299/head
bastimeyer 1 year ago
committed by back-to
parent
commit
b015edb214
  1. 1
      dev-requirements.txt
  2. 10
      setup.cfg

1
dev-requirements.txt

@ -6,3 +6,4 @@ mock
requests-mock
freezegun>=1.0.0
flake8
flake8-import-order

10
setup.cfg

@ -28,7 +28,9 @@ exclude =
versioneer.py,
win32/,
per-file-ignores =
src/streamlink/__init__.py:E402,F401,
src/streamlink/__init__.py:E402,F401,I100,I101,I201,I202,I666,
src/streamlink/packages/*:I100,I101,I201,I202,I666,
src/streamlink/packages/**/*:I100,I101,I201,I202,I666,
src/streamlink/plugin/api/useragents.py:E501,
src/streamlink/plugins/__init__.py:F401,
src/streamlink/stream/__init__.py:F401,
@ -43,3 +45,9 @@ builtins =
raw_input,
unicode,
xrange,
import-order-style = pycharm
application-import-names =
streamlink,
streamlink_cli,
tests,
versioneer,

Loading…
Cancel
Save