4 Commits

Author SHA1 Message Date
YueGuobin
fa3dd827f9
chore: add pre-commit hook running ruff and mypy checks on staged files
Mirrors the fast static checks from CI (justfile lint + type-check):
ruff check, ruff format --check and mypy (gns3server package only,
matching the files = ["gns3server"] scope in pyproject.toml). Only
staged Python files are checked; pytest and pip check are left to CI.

Enable with: just install-hooks
2026-10-15 22:44:24 +08:00
Mark Paronyan
ef579dfa8f
ci: no flake8 checks for now, ruff covers them 2026-09-27 16:07:44 +03:00
Mark Paronyan
2ac637c662
ci: run just test 2026-09-27 15:43:49 +03:00
Mark Paronyan
8dfe05df3d
chore: justfile with mypy, ruff, pytest checks 2026-09-27 15:43:18 +03:00