File tree Expand file tree Collapse file tree 3 files changed +20
-0
lines changed
Expand file tree Collapse file tree 3 files changed +20
-0
lines changed Original file line number Diff line number Diff line change 2323 - name : Run Pre-commit Hooks
2424 run : pre-commit run --all-files
2525
26+ type_check :
27+ runs-on : ubuntu-latest
28+ steps :
29+ - name : Checkout code
30+ uses : actions/checkout@v4
31+
32+ - name : Set up Python
33+ uses : actions/setup-python@v5
34+ with :
35+ python-version : ' 3.9'
36+
37+ - name : Install Mypy Dependencies
38+ run : pip install mypy
39+
40+ - name : Type Checking with Mypy
41+ run : mypy
42+
2643 tests :
2744 runs-on : ubuntu-latest
2845 strategy :
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
88## [ unreleased] - 2024-11-01
99### Added
1010- Added pre-commit hooks and Github CI action for code formatting and linting.
11+ - Added MyPy with strict settings to enforce type hints (and Github CI action).
1112
1213## [ v0.3.11] - 2024-11-01
1314### Fixed
Original file line number Diff line number Diff line change 2424 'pytest-cov >=2.8.1' ,
2525 'pytest-subtests' ,
2626 'responses >=0.8.1' ,
27+ 'types-requests' ,
28+ 'mypy' ,
2729]
2830
2931# Extract the markdown content of the README to be sent to Pypi as the project description page.
You can’t perform that action at this time.
0 commit comments