indygreg / python-build-standalone

Produce redistributable builds of Python
BSD 3-Clause "New" or "Revised" License
1.71k stars 107 forks source link

Add automation for lint, format, and type check #245

Closed zanieb closed 2 months ago

zanieb commented 3 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.

Runs:

A --fix flag can be provided to apply linter fixes and reformat files.