mirror of
https://github.com/NicolasBohn/NexQuant.git
synced 2026-07-27 23:47:46 +00:00
docs: update license section from MIT to AGPL-3.0
This commit is contained in:
+23
-2
@@ -2,6 +2,26 @@
|
|||||||
# See https://pre-commit.com for more information
|
# See https://pre-commit.com for more information
|
||||||
|
|
||||||
repos:
|
repos:
|
||||||
|
# ── Test Coverage Check: new modules must have tests ──────────────
|
||||||
|
- repo: local
|
||||||
|
hooks:
|
||||||
|
- id: check-test-coverage
|
||||||
|
name: Check new rdagent modules have tests
|
||||||
|
entry: python scripts/check_test_coverage.py
|
||||||
|
language: system
|
||||||
|
pass_filenames: false
|
||||||
|
always_run: true
|
||||||
|
|
||||||
|
# ── MyPy Ratchet: no new type errors allowed ────────────────────
|
||||||
|
- repo: local
|
||||||
|
hooks:
|
||||||
|
- id: mypy-ratchet
|
||||||
|
name: MyPy ratchet (no new type errors)
|
||||||
|
entry: python scripts/check_mypy_ratchet.py
|
||||||
|
language: system
|
||||||
|
pass_filenames: false
|
||||||
|
always_run: true
|
||||||
|
|
||||||
# ── Qlib Unit Tests (MANDATORY) ──────────────────────────────────
|
# ── Qlib Unit Tests (MANDATORY) ──────────────────────────────────
|
||||||
- repo: local
|
- repo: local
|
||||||
hooks:
|
hooks:
|
||||||
@@ -14,10 +34,11 @@ repos:
|
|||||||
- test/backtesting/
|
- test/backtesting/
|
||||||
- -v
|
- -v
|
||||||
- --tb=short
|
- --tb=short
|
||||||
- --no-cov
|
- --cov=rdagent
|
||||||
|
- --cov-fail-under=33
|
||||||
|
- --cov-report=term
|
||||||
- --ignore=test/backtesting/test_ftmo_oos.py
|
- --ignore=test/backtesting/test_ftmo_oos.py
|
||||||
- --ignore=test/backtesting/test_kronos_adapter.py
|
- --ignore=test/backtesting/test_kronos_adapter.py
|
||||||
- --ignore=test/backtesting/test_results_db.py
|
|
||||||
- --ignore=test/qlib/test_fin_quant_integration.py
|
- --ignore=test/qlib/test_fin_quant_integration.py
|
||||||
pass_filenames: false
|
pass_filenames: false
|
||||||
always_run: true
|
always_run: true
|
||||||
|
|||||||
@@ -517,16 +517,15 @@ Core dependencies (see [`requirements.txt`](requirements.txt) for full list):
|
|||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
This project is licensed under the **MIT License** – see the [`LICENSE`](LICENSE) file for details.
|
This project is licensed under the **GNU Affero General Public License v3.0 (AGPL-3.0)**.
|
||||||
|
|
||||||
### Attribution Requirements
|
Key points of AGPL-3.0:
|
||||||
|
- You may use, modify, and distribute this software freely
|
||||||
|
- If you distribute modified versions, you MUST publish your changes under the same AGPL-3.0 license
|
||||||
|
- If you run this software as a network service (e.g., trading API), you MUST make the complete source code available to users
|
||||||
|
- Includes patent protection and anti-tivoization clauses
|
||||||
|
|
||||||
If you use this code or concepts in your project, you **must**:
|
See the full license text in [`LICENSE`](LICENSE) or at <https://www.gnu.org/licenses/agpl-3.0.en.html>.
|
||||||
1. Include the MIT License text
|
|
||||||
2. Keep the copyright notice: "Copyright (c) 2025 Predix Team"
|
|
||||||
3. Provide attribution to the original project
|
|
||||||
|
|
||||||
See [`ATTRIBUTION.md`](ATTRIBUTION.md) for detailed guidelines and examples.
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user