style: set 88 as a line length limit

This commit is contained in:
Inex Code 2023-07-19 16:49:35 +03:00
parent a757dc7cc1
commit 5bee124500
3 changed files with 9 additions and 0 deletions

4
.flake8 Normal file
View file

@ -0,0 +1,4 @@
[flake8]
max-line-length = 80
select = C,E,F,W,B,B950
extend-ignore = E203, E501

View file

@ -1,3 +1,6 @@
[MASTER] [MASTER]
init-hook="from pylint.config import find_pylintrc; import os, sys; sys.path.append(os.path.dirname(find_pylintrc()))" init-hook="from pylint.config import find_pylintrc; import os, sys; sys.path.append(os.path.dirname(find_pylintrc()))"
extension-pkg-whitelist=pydantic extension-pkg-whitelist=pydantic
[FORMAT]
max-line-length=88

View file

@ -23,6 +23,8 @@ let
uvicorn uvicorn
redis redis
strawberry-graphql strawberry-graphql
flake8-bugbear
flake8
]); ]);
in in
pkgs.mkShell { pkgs.mkShell {