Skip to content

Add pylint to CI, Python version matrix, and fix requires-python#4

Draft
Copilot wants to merge 3 commits intoworkflowfrom
copilot/fix-all-workflow-errors
Draft

Add pylint to CI, Python version matrix, and fix requires-python#4
Copilot wants to merge 3 commits intoworkflowfrom
copilot/fix-all-workflow-errors

Conversation

Copy link
Copy Markdown

Copilot AI commented Mar 27, 2026

The CI workflow was missing pylint (despite .pylintrc being present), only tested against Python 3.12, and declared an incorrect requires-python constraint.

Changes

  • lint.yml — lint job: Added pylint install and pylint --rcfile=.pylintrc whoisdomain/ step alongside the existing ruff and mypy checks.
  • lint.yml — new test job: Matrix across Python 3.10, 3.11, 3.12, 3.13 (fail-fast: false); each leg installs the package and runs a smoke test:
    python -c "import whoisdomain; print(whoisdomain.getVersion())"
  • pyproject.toml: Changed requires-python = ">3.6"">=3.10" to match ruff.toml's target-version = "py310" and the Makefile's explicit "tested on 3.10–3.14" note.
  • .pylintrc: Removed the obsolete suggestion-mode option, which newer pylint versions reject as E0015: Unrecognized option.

⌨️ Start Copilot coding agent tasks without leaving your editor — available in VS Code, Visual Studio, JetBrains IDEs and Eclipse.

Copilot AI changed the title [WIP] Fix all errors to pass workflow checks Remove empty if __name__ == "__main__" blocks to fix ruff CI failures Mar 27, 2026
Copilot AI requested a review from Misiu March 27, 2026 20:03
Copilot AI changed the title Remove empty if __name__ == "__main__" blocks to fix ruff CI failures Add pylint to CI, Python version matrix, and fix requires-python Mar 27, 2026
Misiu pushed a commit that referenced this pull request Mar 27, 2026
…#4 (#5)

* Add pylint to CI, Python version matrix, and fix requires-python
Misiu added a commit that referenced this pull request Mar 27, 2026
…#4 (#5) (mboot-github#44)

* Add pylint to CI, Python version matrix, and fix requires-python

Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.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.

2 participants