Skip to content

Commit

Permalink
build: stop using flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
dvp committed Aug 6, 2024
1 parent e794f1f commit e4f7197
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 664 deletions.
9 changes: 1 addition & 8 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
nox.options.sessions = (
"pre-commit",
"mypy",
"ruff-format",
"ruff",
"xdoctest",
"tests",
Expand Down Expand Up @@ -152,14 +153,6 @@ def typeguard(s: Session) -> None:
s.run("pytest", "--typeguard-packages=src", *s.posargs, external=True)


@session
def lint(s: Session) -> None:
"""Lint using flake8."""
s.run("poetry", "install", "--no-root", "--only", "flake8", external=True)
args = s.posargs or locations
s.run("flake8", *args)


@session
def mypy(s: Session) -> None:
"""Type-check using mypy."""
Expand Down
Loading

0 comments on commit e4f7197

Please sign in to comment.