diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..7329a4f --- /dev/null +++ b/setup.cfg @@ -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 \ No newline at end of file diff --git a/setup.py b/setup.py index 614192a..3827d9e 100644 --- a/setup.py +++ b/setup.py @@ -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? )