Skip to content

Modernize repo: Python 3.10+, ruff, updated deps and CI#28

Open
jvanderaa wants to merge 2 commits intojeffkala:developfrom
jvanderaa:modernize-tooling-v0.2.0
Open

Modernize repo: Python 3.10+, ruff, updated deps and CI#28
jvanderaa wants to merge 2 commits intojeffkala:developfrom
jvanderaa:modernize-tooling-v0.2.0

Conversation

@jvanderaa
Copy link
Copy Markdown
Contributor

Summary

Closes #27

  • Update Python target from 3.6 to 3.10+, test matrix 3.10-3.13
  • Replace black/flake8/pylint/pydocstyle/bandit with ruff for linting and formatting
  • Update dependencies: click 8.x, requests 2.28+, dnspython 2.4+, invoke 2.x
  • Replace distutils.strtobool (removed in Python 3.12) with inline implementation
  • Replace toml package with stdlib tomllib (with tomli fallback for 3.10)
  • Update GitHub Actions to v4, split into lint/test jobs, drop Docker-based CI
  • Improve Dockerfile layer caching, default to Python 3.12
  • Fix broken path construction in test_pyurlcheck.py, add real tests for check module
  • Add request timeout to validate.py
  • Bump version to 0.2.0

Test plan

  • poetry run ruff format --check . passes
  • poetry run ruff check . passes
  • poetry run pytest -v — all 15 tests pass

🤖 Generated with Claude Code

jvanderaa and others added 2 commits April 7, 2026 08:55
Closes jeffkala#27

- Update Python target from 3.6 to 3.10+, test matrix 3.10-3.13
- Replace black/flake8/pylint/pydocstyle/bandit with ruff
- Update dependencies: click 8.x, requests 2.28+, dnspython 2.4+
- Replace distutils.strtobool (removed in 3.12) with inline impl
- Replace toml package with stdlib tomllib (tomli fallback for 3.10)
- Update GitHub Actions to v4, split lint/test jobs, drop Docker CI
- Improve Dockerfile layer caching, default to Python 3.12
- Fix broken path in test_pyurlcheck.py, add real tests for check module
- Add request timeout to validate.py
- Bump version to 0.2.0

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Use explicit null (~) for pull_request trigger to satisfy
the empty-values yamllint rule.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Modernize repo: Python 3.10+, ruff, updated CI and dependencies

1 participant