diff --git a/docs/start.rst b/docs/start.rst index 344e49d067..65fbf7b1ec 100644 --- a/docs/start.rst +++ b/docs/start.rst @@ -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. diff --git a/setup.cfg b/setup.cfg index 61a1b69c6f..e56067f4ef 100644 --- a/setup.cfg +++ b/setup.cfg @@ -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