Modernize repo: Python 3.10+, ruff, updated deps and CI#28
Open
jvanderaa wants to merge 2 commits intojeffkala:developfrom
Open
Modernize repo: Python 3.10+, ruff, updated deps and CI#28jvanderaa wants to merge 2 commits intojeffkala:developfrom
jvanderaa wants to merge 2 commits intojeffkala:developfrom
Conversation
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>
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
Closes #27
distutils.strtobool(removed in Python 3.12) with inline implementationtomlpackage with stdlibtomllib(withtomlifallback for 3.10)test_pyurlcheck.py, add real tests for check modulevalidate.pyTest plan
poetry run ruff format --check .passespoetry run ruff check .passespoetry run pytest -v— all 15 tests pass🤖 Generated with Claude Code