@@ -17,7 +17,7 @@ Bootstrap, build, and test the repository:
1717- ` hatch run functional:all ` – end-to-end functional (SQLite + PostgreSQL live scripts) (≈10–15s) ** NEVER CANCEL.**
1818 - ` hatch run functional:sqlite --all ` – only SQLite functional cycle
1919 - ` hatch run functional:postgres --all ` – only PostgreSQL functional cycle
20- - ` hatch run lint:check ` – lint (ruff + pylint ) (≈5s)
20+ - ` hatch run lint:check ` – lint (ruff) (≈5s)
2121- ` hatch run docs:build ` – build documentation (≈2s, strict)
2222- ` hatch run docs:serve ` – local docs server (http://localhost:8000 )
2323- ` hatch run docs:linkcheck ` – validate internal/external links & spelling
@@ -40,8 +40,7 @@ Run tests in multiple configurations:
4040- ` hatch run functional:all -v ` – functional backup/restore (SQLite + PostgreSQL)
4141- ` hatch run functional:sqlite --all -v ` – functional (SQLite only)
4242- ` hatch run functional:postgres --all -v ` – functional (PostgreSQL only)
43- - ` hatch run lint:check ` – linting
44- - ` hatch run lint:format ` – auto-format (Ruff)
43+ - ` hatch fmt --check ` – Python formatting and linting using ruff
4544
4645Expected test results:
4746
@@ -103,7 +102,7 @@ Modern development process using Hatch:
1031023 . ** Run unit tests** : ` hatch test ` (≈30s) ** All must pass - failures are never expected or allowed.**
1041034 . ** Run functional tests** : ` hatch run functional:all -v ` (≈10–15s)
1051045 . ** Run linting** : ` hatch run lint:check ` (5 seconds)
106- 6 . ** Auto-format code** : ` hatch run lint:format ` (2 seconds)
105+ 6 . ** Auto-format code** : ` hatch fmt ` (2 seconds)
1071067 . ** Test documentation** : ` hatch run docs:build ` (2 seconds)
1081078 . ** Update documentation** when making changes to Python source code (required)
1091089 . ** Add changelog entry** for all significant changes (bug fixes, new features, breaking changes) to ` CHANGELOG.md ` under the "Unreleased" section.
@@ -136,7 +135,7 @@ Key directories and files:
136135
137136Key configuration files:
138137
139- - ` pyproject.toml ` – all tool configuration (Hatch, Ruff, PyLint, PyTest, Coverage)
138+ - ` pyproject.toml ` – all tool configuration (Hatch, Ruff, PyTest, Coverage)
140139- ` .pre-commit-config.yaml ` – git pre-commit hooks
141140- ` tests/settings.py ` – Django test settings (locmem email backend)
142141
@@ -152,9 +151,8 @@ hatch test --python 3.12 # Test specific Python version subset
152151hatch run functional:all # Functional tests (SQLite + PostgreSQL)
153152hatch run functional:sqlite --all # Functional tests (SQLite only)
154153hatch run functional:postgres --all # Functional tests (PostgreSQL only)
155- hatch run lint:check # Lint (ruff + pylint)
156- hatch run lint:format # Auto-format
157- hatch run lint:format-check # Format check only
154+ hatch fmt --check # Check formatting and linting
155+ hatch fmt # Auto-format and lint
158156hatch run docs:build # Build documentation (strict)
159157hatch run docs:serve # Serve docs locally
160158hatch run precommit:check # Run all pre-commit hooks
@@ -168,8 +166,6 @@ hatch build # Build distribution packages
168166hatch env show # Show all environments
169167hatch shell # Default dev shell
170168hatch shell functional # Functional env shell
171- hatch shell lint # Lint env shell
172- hatch run --env lint ruff --version # Run command in lint env
173169hatch python install 3.13 # (Optional) Install Python 3.13 via Hatch
174170```
175171
@@ -184,7 +180,6 @@ Modern isolated environments configured in pyproject.toml:
184180
185181### Development Environments
186182
187- - ** lint** : Code quality (ruff, pylint)
188183- ** docs** : Documentation building (mkdocs-material)
189184- ** precommit** : Git hooks management
190185
@@ -225,7 +220,7 @@ Core runtime dependency:
225220Development dependencies (managed by hatch):
226221
227222- ** Testing** : coverage, django-storages, psycopg2-binary, python-gnupg, testfixtures, python-dotenv
228- - ** Linting** : ruff, pylint
223+ - ** Linting** : ruff
229224- ** Documentation** : mkdocs, mkdocs-material, mkdocs-git-revision-date-localized-plugin, mkdocs-include-markdown-plugin, mkdocs-spellcheck[ all] , mkdocs-git-authors-plugin, mkdocs-minify-plugin, mike, linkcheckmd
230225- ** Pre-commit** : pre-commit
231226
0 commit comments