mirror of
https://github.com/nox-project/nox-framework.git
synced 2026-06-08 16:07:17 +00:00
1.2 KiB
1.2 KiB
Contributing to NOX
Before You Start
NOX is a security tool. All contributions must comply with the Legal Disclaimer and the Apache 2.0 License.
Adding an Intelligence Source
All sources are defined exclusively in build_sources.py. Never edit sources/*.json directly — they are auto-generated artifacts.
- Add a
_base()(public) or_auth()(API key required) call inbuild_sources.py - Run
python build_sources.pyto regenerate and validate all plugins - Verify with
nox-cli --sources
Code Style
- Python 3.8+ compatible
- No new runtime dependencies without justification in the PR
- All async I/O through
aiohttp— norequestsin hot paths - Error handling: log at
DEBUG, never crash the scan loop
Pull Request Checklist
python3 -m py_compile nox.pypassespython build_sources.pycompletes without errors- No credentials, API keys, or personal data in the diff
sources/*.jsonregenerated ifbuild_sources.pywas modified
Reporting Bugs
Open a GitHub issue with:
- NOX version (
nox-cli --version) - Python version
- Minimal reproduction steps
- Expected vs actual behaviour