From d8a950948c7fe0d63dbae37e69129c9a649c91b6 Mon Sep 17 00:00:00 2001 From: Daniil Fajnberg Date: Thu, 9 Mar 2023 19:22:08 +0100 Subject: [PATCH] Add `+x` to scripts; type check tests; add toml --- pyproject.toml | 7 +++++-- requirements/dev.txt | 2 +- scripts/lint.sh | 0 scripts/test.sh | 0 4 files changed, 6 insertions(+), 3 deletions(-) mode change 100644 => 100755 scripts/lint.sh mode change 100644 => 100755 scripts/test.sh diff --git a/pyproject.toml b/pyproject.toml index 79848de..9aa1710 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -44,7 +44,7 @@ full = [ dev = [ "black", "build", - "coverage", + "coverage[toml]", "flake8", "mkdocs-material", "mkdocstrings[python]", @@ -65,7 +65,10 @@ version = {attr = "PACKAGE_NAME_PLACEHOLDER.__version__"} # Mypy: # [tool.mypy] -files = "src/" +files = [ + "src/", + "tests/", +] warn_unused_configs = true strict = true show_error_codes = true diff --git a/requirements/dev.txt b/requirements/dev.txt index 538c836..2124456 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -1,7 +1,7 @@ -r common.txt black build -coverage +coverage[toml] flake8 mkdocs-material mkdocstrings[python] diff --git a/scripts/lint.sh b/scripts/lint.sh old mode 100644 new mode 100755 diff --git a/scripts/test.sh b/scripts/test.sh old mode 100644 new mode 100755