env PYTHONPATH=src exabgp_log_enable=false pytest --cov --cov-reset ./tests/*_test.py
env PYTHONPATH=src exabgp_log_enable=false pytest ./tests/_test.py::TestClass::test_method
./qa/bin/functional parsing
./qa/bin/functional encoding --list ./qa/bin/functional encoding
./qa/bin/functional decoding --list ./qa/bin/functional decoding
python3 setup.py sdist bdist_wheel
ruff . --fix
- Follow PEP8: 120-char max, single quotes for strings
- Imports: stdlib first, blank line, 3rd-party, blank line, local
- Type hints for public APIs; use
typingonly when needed - Naming: snake_case for functions/vars, PascalCase for classes
- Exceptions: subclass
Exception; raise custom errors with clear msgs - Logging: use
exabgp.loggerutilities, avoid prints
- No
.cursoror Copilot rules detected - Ignore
.crush/artifacts via.gitignore