diff --git a/.flake8 b/.flake8 new file mode 100644 index 0000000..6759bff --- /dev/null +++ b/.flake8 @@ -0,0 +1,24 @@ +[flake8] +max-line-length = 80 +import-order-style = google +application-import-names = timetable, tickets, home, films +exclude = + .git, + __pycache__, + .venv, + venv, + */migrations/, + */.venv/, + */venv/, + .prod, + .dev, + .test, + tvenv +plugins = + flake8-commas + flake8-import-order + flake8-return + flake8-quotes + flake8-clean-block + flake8-expression-complexity + flake8-bugbear \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..fa205c0 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,10 @@ +[tool.black] +line-length = 79 +exclude = ''' +venv/ +.git/ +migrations/ +.dev/ +.prod/ +.test/ +''' \ No newline at end of file