Contributing to python-configuration
First off, thanks for taking the time to contribute!
Setting up a dev environment
- Fork the
tr11/python-configuration
GitHub repo. -
Clone the fork:
shell git clone https://github.com/<your_username>/python-configuration.git cd python-configuration
-
Use
hatch
to generate a version file and install the dependencies
hatch build --hooks-only # generate a version file from the git commit
# or
hatch build
Running the tests
To run the tests (which include linting and type checks), run:
hatch run test:test
Before opening a PR, make sure to run
hatch run testing:test
which executes the previous test command on all Python versions supported by the library.