-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Typing fixes for pytest_structlog * Move to subfolder so mypy works * Add log typing to the tests to check the types * Add mypy checks * 2.7 is broken * Explicitly mark and test Python 3.6 * Downgrade Ubuntu version to make 3.6 work * Upgrade to 3.7 so we can have structlog with .typing * Covariance arguments fixes for pyright * Actually install pyright * Fix pyright comment * Need structlog 22.2.0 for .typing support
- Loading branch information
Showing
12 changed files
with
94 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
include LICENSE | ||
recursive-include tests *.py | ||
include pytest_structlog/py.typed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[mypy] | ||
show_error_codes = true | ||
disallow_untyped_defs = true | ||
disallow_incomplete_defs = true | ||
no_implicit_optional = true | ||
warn_redundant_casts = true | ||
warn_unused_ignores = true | ||
warn_return_any = true | ||
warn_unreachable = true | ||
strict_equality = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,14 +10,13 @@ | |
author="Wim Glenn", | ||
author_email="[email protected]", | ||
license="MIT", | ||
install_requires=["pytest", "structlog"], | ||
py_modules=["pytest_structlog"], | ||
install_requires=["pytest", "structlog>=22.2.0"], | ||
entry_points={"pytest11": ["pytest-structlog=pytest_structlog"]}, | ||
python_requires=">=3.7", | ||
classifiers=[ | ||
"Framework :: Pytest", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 2", | ||
"Programming Language :: Python :: 3", | ||
], | ||
options={"bdist_wheel": {"universal": "1"}}, | ||
include_package_data=True, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.