mirror of
https://framagit.org/la-chariotte/la-chariotte.git
synced 2025-05-03 12:21:52 +02:00
install flake8-black and move pytest config in pyproject.toml
This commit is contained in:
parent
d650ec2913
commit
5289a90ced
3 changed files with 4 additions and 3 deletions
|
@ -35,6 +35,9 @@ isort_ignore = ["*migrations/*.py"]
|
|||
[tool.isort]
|
||||
skip_glob = ["*migrations/*.py"]
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
DJANGO_SETTINGS_MODULE = "la_chariotte.settings"
|
||||
|
||||
[tool.black]
|
||||
line-length = 88
|
||||
exclude = '''
|
||||
|
|
|
@ -33,3 +33,4 @@ Si il y a des erreurs BLACK, on peut lancer black pour linter le code :
|
|||
```bash
|
||||
black .
|
||||
```
|
||||
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
[tool:pytest]
|
||||
DJANGO_SETTINGS_MODULE = la_chariotte.settings
|
||||
|
||||
[flake8]
|
||||
exclude = migrations
|
||||
extend-ignore = E501
|
Loading…
Reference in a new issue