Improve test and validation
Fixes #8 (closed)
- Update the
tox
config to useruff
for formatting & linting checks - Add a
type
environment intox
for checking types withty
- Add the
py313
environment intox
- Replace the format,lint,test sections in the README with explanations for
tox
and how to test with all supported Python versions - Init a GitLab CI file to run
tox run
on all Merge Requests and commits on the main branch- Each Python version is tested independently, as it is faster to use existing python images than creating one with all versions all at once
- It also make sure that environments where only one specific python version is installed works correctly
- CI is enabled by default, so the pipeline should run directly after making this MR
- Jobs on Python 3.8 and 3.9 are expected to fail here because !6 (merged) corrections are not included here
Edited by Nicolas Mémeint