Modernize project setup with ruff, uv, and hatchling#293
Merged
Conversation
added 5 commits
January 26, 2026 14:00
Migrate from legacy tooling to modern Python development stack: - Replace setuptools with hatchling build system - Replace black, isort, flake8, bandit with ruff for linting/formatting - Replace pip with uv in Docker for faster dependency management - Consolidate all tool configs into pyproject.toml - Update Python version support to 3.10-3.14 - Add requirements.lock for reproducible builds - Add verify-wheel and build-dist GitHub Actions - Update CI workflow with modern jobs (ruff, verify-wheel, build-devbox) - Remove legacy config files (.bandit, .flake8, mypy.ini, pytest.ini, etc.)
- Fix B904: Add 'from err' to exception raises in except blocks - Fix B018: Assign useless attribute access to variable - Fix UP007: Use X | Y instead of Union[X, Y] for type annotations - Fix SIM117: Combine nested with statements - Fix B017: Use RuntimeError instead of blind Exception in test - Fix mypy: Add None check for f.a_path in diff iteration - Add per-file-ignores for S105 false positives in tests and remote_git_utils - Update requirements.lock with correct dependency versions
- Update mkdocs.yml with modern mkdocstrings config format - Add markdown_include, footnotes, and search plugin - Add changelog.md symlink to docs nav - Create requirements-docs.txt for docs-specific dependencies - Update requirements-test.txt to remove docs dependencies - Update lock_requirements.sh to include docs requirements - Update install-dependencies action to support docs-requirements - Update development-guide.md to reference ruff instead of legacy tools - Regenerate requirements.lock with all dependencies
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Test plan
Changelog
PH: FRL-
BR: achinchwadkar
tested: true