Merge pull request #328 from christianlouis/copilot/fix-black-flake8-ci
docs: update linting documentation to reflect Ruff migration
This commit is contained in:
@@ -72,6 +72,7 @@ htmlcov/
|
|||||||
.coverage.*
|
.coverage.*
|
||||||
.cache
|
.cache
|
||||||
nosetests.xml
|
nosetests.xml
|
||||||
|
junit.xml
|
||||||
coverage.xml
|
coverage.xml
|
||||||
*.cover
|
*.cover
|
||||||
*.py,cover
|
*.py,cover
|
||||||
|
|||||||
+4
-3
@@ -696,12 +696,13 @@ Before submitting code:
|
|||||||
Run full check:
|
Run full check:
|
||||||
```bash
|
```bash
|
||||||
pytest --cov=app
|
pytest --cov=app
|
||||||
black app/ tests/
|
ruff check app/ tests/
|
||||||
flake8 app/ --max-line-length=120
|
ruff format --check app/ tests/
|
||||||
mypy app/
|
mypy app/
|
||||||
bandit -r app/
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
**Note:** This project uses Ruff, which replaces Black, Flake8, isort, and Bandit with a single, faster tool.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## 🤝 Agent Collaboration
|
## 🤝 Agent Collaboration
|
||||||
|
|||||||
Reference in New Issue
Block a user