Skip to content

Commit

Permalink
Improve code and typing to pass mypy --no-strict-optional
Browse files Browse the repository at this point in the history
  • Loading branch information
vanous committed Oct 13, 2024
1 parent bc7d7f3 commit 3056761
Show file tree
Hide file tree
Showing 4 changed files with 219 additions and 170 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
build
dist
.venv
__pycache__
.python-version
.mypy_cache
Expand Down
2 changes: 1 addition & 1 deletion conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ def pygdtf_module():

def pytest_configure(config):
plugin = config.pluginmanager.getplugin("mypy")
plugin.mypy_argv.append("--no-strict-optional")
# plugin.mypy_argv.append("--no-strict-optional")
Loading

0 comments on commit 3056761

Please sign in to comment.