Skip to content

Commit

Permalink
Add flake8 setup
Browse files Browse the repository at this point in the history
  • Loading branch information
JNatael committed Feb 2, 2021
1 parent 2588613 commit d264afa
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
15 changes: 15 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[flake8]
ignore = D203
max-line-length = 160
exclude =
# No need to traverse these directories
.git,.github.vscode
# There's no value in checking cache directories
__pycache__,
# The conf file is mostly autogenerated, ignore it
docs/source/conf.py,
# This contains our built documentation
build,
# This contains builds of flake8 that we don't want to check
dist
max-complexity = 10
7 changes: 5 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@
"Operating System :: POSIX :: Linux",
],
keywords="raspberry pi mlx90640 thermal camera ir flir",
python_requires='>=3.6',
python_requires='>=3.6',
setup_requires=[
"flake8"
],
include_package_data=True,
# What does your project relate to?
# What does your project relate to?
)

0 comments on commit d264afa

Please sign in to comment.