Merge pull request #589 from SchrodingersGat/flake-fix

Ignore venv files for PEP checking
This commit is contained in:
Oliver 2019-12-05 23:10:43 +11:00 committed by GitHub
commit d5d4cbaec1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 5 deletions

View File

@ -29,10 +29,9 @@ Installing the required Python packages inside a virtual environment allows a lo
To configure Inventree inside a virtual environment, ``cd`` into the inventree base directory and run the following commands:
``
apt-get install python3-venv
source inventree/bin/activate
``
``apt-get install python3-venv``
``source inventree/bin/activate``
This will place the current shell session inside a virtual environment - the terminal should display the ``(inventree)`` prefix.

View File

@ -6,5 +6,5 @@ ignore =
E501, E722,
# - C901 - function is too complex
C901,
exclude = .git,__pycache__,*/migrations/*
exclude = .git,__pycache__,*/migrations/*,*/lib/*,*/bin/*
max-complexity = 20