Skip to content

Instantly share code, notes, and snippets.

@colmjude
Last active September 19, 2022 13:58
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
Python project files
[flake8]
max-line-length = 120
; W291 Trailing whitespace
; E203 Whitespace before ':'
; W503 Line break occurred before a binary operator
ignore = W291, E203, W503
exclude =
__pycache__
node_modules
.venv
migrations
; vim: ft=dosini
init::
python -m pip install --upgrade pip
pip install -r requirements.txt
black:
black .
black-check:
black --check .
flake8:
flake8 --exclude .venv,node_modules
isort:
isort --profile black .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment