File tree 3 files changed +12
-2
lines changed
3 files changed +12
-2
lines changed Original file line number Diff line number Diff line change
1
+ [flake8]
2
+
3
+ # Maximum line length
4
+ max-line-length = 100
5
+
6
+ ignore =
7
+ # Ignore unexpected spaces around keyword / parameter equals
8
+ E251,
9
+ # Do not complain about line breaks after operators
10
+ W504
Original file line number Diff line number Diff line change @@ -2,8 +2,6 @@ language: python
2
2
dist : xenial
3
3
matrix :
4
4
include :
5
- - python : 3.5
6
- env : TOX_ENV=py35
7
5
- python : 3.6
8
6
env : TOX_ENV=py36
9
7
- python : 3.7
@@ -15,3 +13,4 @@ install:
15
13
script :
16
14
- sphinx-build -E -W -b linkcheck docs/source build
17
15
- pip uninstall -y riscv-dv
16
+ - flake8 --show-source pygen/pygen_src/ --config=.flake8
Original file line number Diff line number Diff line change @@ -6,3 +6,4 @@ sphinxcontrib-log-cabinet
6
6
sphinx-issues
7
7
sphinx_rtd_theme
8
8
rst2pdf
9
+ flake8
You can’t perform that action at this time.
0 commit comments