mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-05 04:36:52 +00:00
Move old documentation out of the way
This commit is contained in:
parent
0f2a2614ee
commit
55cc996368
11 changed files with 0 additions and 0 deletions
|
|
@ -1,25 +0,0 @@
|
|||
Setuptools integration
|
||||
======================
|
||||
|
||||
Upon installation, Flake8 enables a setuptools command that checks Python
|
||||
files declared by your project.
|
||||
|
||||
Running ``python setup.py flake8`` on the command line will check the files
|
||||
listed in your ``py_modules`` and ``packages``. If any warning is found,
|
||||
the command will exit with an error code::
|
||||
|
||||
$ python setup.py flake8
|
||||
|
||||
Also, to allow users to be able to use the command without having to install
|
||||
flake8 themselves, add flake8 to the setup_requires of your setup() like so::
|
||||
|
||||
setup(
|
||||
name="project",
|
||||
packages=["project"],
|
||||
|
||||
setup_requires=[
|
||||
"flake8"
|
||||
]
|
||||
)
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue