Closed zanieb closed 2 months ago
Follows https://github.com/indygreg/python-build-standalone/pull/236#discussion_r1529586740
Adds a check.py script and splits some requirements into requirements.dev.in / .txt. Enforces checks in a CI job.
check.py
requirements.dev.in
.txt
Runs:
ruff check
ruff format
mypy
A --fix flag can be provided to apply linter fixes and reformat files.
--fix
Follows https://github.com/indygreg/python-build-standalone/pull/236#discussion_r1529586740
Adds a
check.py
script and splits some requirements intorequirements.dev.in
/.txt
. Enforces checks in a CI job.Runs:
ruff check
with a very limited selection of rules, can add more laterruff format
mypy
on a subset of modulesA
--fix
flag can be provided to apply linter fixes and reformat files.