Skip to content

Commit

Permalink
Merge pull request #398 from MC-kit/devel
Browse files Browse the repository at this point in the history
Upgrade to numpy-2.0
  • Loading branch information
dvp2015 authored Aug 7, 2024
2 parents 339e0bb + 4a5203d commit e1befea
Show file tree
Hide file tree
Showing 3 changed files with 1,032 additions and 2,029 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 e1befea

Please sign in to comment.