Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.40.0
current_version = 0.41.0
commit = True
tag = False
message = chore: Bump version from {current_version} to {new_version}
Expand Down
5 changes: 5 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# History

## 0.41.0 (2025-01-08)

- (PR #753, 2025-01-08) Exclude only individual test files in Mypy configuration
- (PR #755, 2025-01-08) Improve Make tasks `clean-build`, `clean-pyc`, and `clean-test`

## 0.40.0 (2025-01-08)

- (PR #748, 2025-01-06) Use most recent patch version of Python in CI/CD configuration
Expand Down
29 changes: 14 additions & 15 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -45,25 +45,24 @@ help:
clean: clean-build clean-pyc clean-test ## remove all build, test, lint, coverage and Python artifacts

clean-build: ## remove build artifacts
rm -rf .eggs/
rm -rf build/
rm -rf dist/
find . -name '*.egg-info' -exec rm -rf {} +
find . -name '*.egg' -exec rm -f {} +
${RM} -r .eggs/
${RM} -r build/
${RM} -r dist/
find . -iname '*.egg-info' -type d -prune -exec ${RM} -r {} \;
find . -iname '*.egg' -prune -exec ${RM} -r {} \;

clean-pyc: ## remove Python file artifacts
find . -name '*.pyc' -exec rm -f {} +
find . -name '*.pyo' -exec rm -f {} +
find . -name '*~' -exec rm -f {} +
find . -name '__pycache__' -exec rm -rf {} +
find . -iname '*.py[cod]' -delete
find . -iname '*~' -exec ${RM} {} +
find . -iname __pycache__ -type d -prune -exec ${RM} -r {} \;

clean-test: ## remove test, lint and coverage artifacts
rm -rf .cache/
rm -rf .tox/
rm -f .coverage
rm -rf htmlcov/
rm -rf test-reports/
rm -rf .mypy_cache/
${RM} -r .cache/
${RM} -r .tox/
${RM} .coverage
${RM} -r htmlcov/
${RM} -r test-reports/
${RM} -r .mypy_cache/

install-dev: install-deps-dev
install-dev: ## Install for development
Expand Down
27 changes: 26 additions & 1 deletion mypy.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,32 @@ mypy_path =
files =
*.py,
src
exclude = (^(src/tests)/.*$)
exclude = (?x)(
^src/tests/( # Tests
test_cte_f29_data_models
| test_dte_data_models
| test_dte_parse
| test_extras_dj_filters
| test_extras_dj_form_fields
| test_extras_dj_model_fields
| test_extras_mm_fields
| test_libs_crypto_utils
| test_libs_dataclass_utils
| test_libs_io_utils
| test_libs_tz_utils
| test_libs_xml_utils
| test_rcv_parse_csv
| test_rtc_data_models
| test_rtc_data_models_aec
| test_rtc_data_models_cesiones_periodo
| test_rtc_xml_utils
| test_rut
| test_rut_crypto_utils
)\.py$
| ^src/tests/( # Test object factories
cte_f29_factories
)\.py$
)
plugins =
pydantic.mypy

Expand Down
2 changes: 1 addition & 1 deletion src/cl_sii/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

"""

__version__ = '0.40.0'
__version__ = '0.41.0'
Loading