From a4fff1a65700aa153123c5cc3ba403c7c409d16b Mon Sep 17 00:00:00 2001 From: Louis Dionne Date: Thu, 16 Oct 2025 15:23:11 -0400 Subject: [PATCH] Remove --no-incremental when using mypy After 10 years, mypy can handle our codebase without that flag. --- pyproject.toml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index fa17e6c2..b614d176 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -135,16 +135,12 @@ skip_install = true description = "Typecheck the codebase" # TODO: Make it possible to install [.dev] dependencies instead deps = [ - "mypy >= 0.910", + "mypy", "sqlalchemy-stubs", "types-certifi", "types-PyYAML", ] -# The option --no-incremental is currently needed to suppress warnings -# about UpdatedBase when running tests several times. Future versions of -# mypy should be checked to see if it can be removed and not get -# warnings after running tox several times. -commands = [["mypy", "--no-incremental", "--ignore-missing-imports", "lnt"]] +commands = [["mypy", "--ignore-missing-imports", "lnt"]] skip_install = true [tool.tox.env.docs]