Skip to content

Commit

Permalink
Only install Mypy in nox
Browse files Browse the repository at this point in the history
  • Loading branch information
patrick91 committed May 27, 2024
1 parent 92c8fa6 commit dd327ed
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 49 deletions.
1 change: 1 addition & 0 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,5 +162,6 @@ def tests_cli(session: Session) -> None:
@session(name="Mypy", tags=["lint"])
def mypy(session: Session) -> None:
session.run_always("poetry", "install", "--with", "integrations", external=True)
session.install("mypy")

session.run("mypy", "--config-file", "mypy.ini")
49 changes: 1 addition & 48 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ poetry-plugin-export = "^1.6.0"
urllib3 = "<2"
graphlib_backport = {version = "*", python = "<3.9", optional = false}
inline-snapshot = "^0.10.1"
mypy = ">=1.10.0"

[tool.poetry.group.integrations]
optional = true
Expand Down

0 comments on commit dd327ed

Please sign in to comment.