summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-01-25 18:52:04 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-01-25 18:52:04 +0100
commit7127ba99e2f7bb108ea3bc0b92097ac02fd02c74 (patch)
tree8f9d33daa6f468a87cdd5507788ffa5928ae7749
parentfa2aec1a9d90758a952659796d8faf0fb0496ce2 (diff)
fix: remove pytype
-rw-r--r--noxfile.py10
1 files changed, 1 insertions, 9 deletions
diff --git a/noxfile.py b/noxfile.py
index d14fefb..d2279eb 100644
--- a/noxfile.py
+++ b/noxfile.py
@@ -6,7 +6,7 @@ import nox
from nox.sessions import Session
package = "text-recognizer"
-nox.options.sessions = "lint", "mypy", "pytype", "safety", "tests"
+nox.options.sessions = "lint", "mypy", "safety", "tests"
locations = (
"text_recognizer",
"training",
@@ -95,14 +95,6 @@ def mypy(session: Session) -> None:
session.run("mypy", *args)
-@nox.session(python="3.9")
-def pytype(session: Session) -> None:
- """Type-check using pytype."""
- args = session.posargs or ["--disable=import-error", *locations]
- install_with_constraints(session, "pytype")
- session.run("pytype", *args)
-
-
@nox.session(python=["3.9"])
def tests(session: Session) -> None:
"""Run the test suite."""