Skip to content

Commit

Permalink
fix(python): type checking issue.
Browse files Browse the repository at this point in the history
closes #38, #37.
  • Loading branch information
shahinism committed Jul 25, 2024
1 parent 830327d commit 175d84c
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
set -euo pipefail

pytest -vv
python -m mypy .
python -m pytest -vv
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ pdm
python-lsp-server
importmagic
epc
black
'';
};
};
Expand All @@ -31,8 +32,13 @@ epc
};
{% endblock %}

{% block extra_config %}
enterShell = ''
hello
pdm install
'';
{% endblock %}
{% block hooks %}
ruff.enable = true;
pyright.enable = true;
editorconfig-checker.enable = true;
{% endblock %}
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,11 @@ path = "src/{{project_name}}/__init__.py"
[tool.pdm.dev-dependencies]
dev = [
"Commitizen>=3.28.0",
"mypy>=1.11.0",
"pdbpp>=0.10.3",
"pytest-coverage>=0.0",
"pytest-dependency>=0.6.0",
"pytest>=8.3.1",
]
[tool.commitizen]
version = "1.0.0"
Expand Down

0 comments on commit 175d84c

Please sign in to comment.