Skip to content

Commit

Permalink
Move mypy out of testing env and into type_checking
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidCEllis committed Oct 21, 2024
1 parent 1f8350a commit 8c3f199
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/auto_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -e .[testing]
python -m pip install -e .[testing,type_checking]
- name: Check type stub files
run: |
python -m mypy.stubtest ducktools.classbuilder
12 changes: 6 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,19 +27,19 @@ classifiers = [
dynamic = ['version']
license = {file = "LICENSE.md"}

[project.optional-dependencies]
testing = ["pytest>=8.2", "pytest-cov", "typing_extensions"]
type_checking = ["mypy"]
performance_tests = ["attrs", "pydantic"]
docs = ["sphinx", "myst-parser", "sphinx_rtd_theme"]

[tool.setuptools.packages.find]
where = ["src"]

[tool.setuptools_scm]
version_file = "src/ducktools/classbuilder/_version.py"
version_file_template = "__version__ = \"{version}\"\n__version_tuple__ = {version_tuple}\n"


[project.optional-dependencies]
testing = ["pytest>=8.2", "pytest-cov", "mypy", "typing_extensions"]
performance_tests = ["attrs", "pydantic"]
docs = ["sphinx", "myst-parser", "sphinx_rtd_theme"]

[project.urls]
"Homepage" = "https://github.com/davidcellis/ducktools-classbuilder"

Expand Down

0 comments on commit 8c3f199

Please sign in to comment.