Skip to content

Commit

Permalink
Add mypy compatibility (#38)
Browse files Browse the repository at this point in the history
* update deps

* update pre-commit

* fix #37 add py.typed for mypy support

#minor bump version
  • Loading branch information
zifeo authored Mar 8, 2022
1 parent 904b293 commit 491b6e5
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/sqlalchemyorg/zimports/
rev: v0.4.3
rev: v0.5.0
hooks:
- id: zimports
- repo: https://github.com/psf/black
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

- add py.typed for mypy support

### Changed

### Fixed
Expand Down
1 change: 1 addition & 0 deletions dataconf/py.typed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Marker for PEP 561, inline types are used.
48 changes: 30 additions & 18 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ pyhocon = "^0.3.54"
python-dateutil = "^2.8.1"

[tool.poetry.dev-dependencies]
pytest = "^6.2.5"
pytest = "^7.0.1"
pre-commit = "^2.3.0"

[build-system]
Expand Down

0 comments on commit 491b6e5

Please sign in to comment.