Skip to content

Commit 1c45853

Browse files
committed
tests: Don't install mypy on pypy
1 parent c73b85e commit 1c45853

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.github/test_projects/minimal/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ packages = [{include = "test_project", from = "src"}]
1414

1515
[tool.poetry.group.lint.dependencies]
1616
ni-python-styleguide = ">=0.4.1"
17-
mypy = ">=1.0"
17+
mypy = { version = ">=1.0", markers = "implementation_name != 'pypy'" }
1818
pyright = { version = ">=1.1.400", extras = ["nodejs"] }
1919

2020
[tool.mypy]

.github/test_projects/mypy-errors/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ packages = [{include = "test_project", from = "src"}]
1414

1515
[tool.poetry.group.lint.dependencies]
1616
ni-python-styleguide = ">=0.4.1"
17-
mypy = ">=1.0"
17+
mypy = { version = ">=1.0", markers = "implementation_name != 'pypy'" }
1818
pyright = { version = ">=1.1.400", extras = ["nodejs"] }
1919

2020
[tool.mypy]

.github/test_projects/ni-python-styleguide-errors/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ packages = [{include = "test_project", from = "src"}]
1414

1515
[tool.poetry.group.lint.dependencies]
1616
ni-python-styleguide = ">=0.4.1"
17-
mypy = ">=1.0"
17+
mypy = { version = ">=1.0", markers = "implementation_name != 'pypy'" }
1818
pyright = { version = ">=1.1.400", extras = ["nodejs"] }
1919

2020
[tool.mypy]

.github/test_projects/repo_root/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ packages = [{include = "test_project", from = "src"}]
1414

1515
[tool.poetry.group.lint.dependencies]
1616
ni-python-styleguide = ">=0.4.1"
17-
mypy = ">=1.0"
17+
mypy = { version = ">=1.0", markers = "implementation_name != 'pypy'" }
1818
pyright = { version = ">=1.1.400", extras = ["nodejs"] }
1919

2020
[tool.ni-python-styleguide]

0 commit comments

Comments
 (0)