diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index a5d1f5c..9507910 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -14,7 +14,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.8", "3.9", "3.10", "3.11"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] os: [ubuntu-latest] steps: @@ -32,15 +32,11 @@ jobs: - name: Lint with black run: | black --check --diff screenpy_selenium - - name: Lint with isort + black --check --diff tests + - name: Lint with ruff run: | - isort --check-only --diff screenpy_selenium - - name: Lint with flake8 - run: | - flake8 --exit-zero screenpy_selenium + ruff check . - name: Lint with mypy run: | mypy screenpy_selenium - - name: Lint with pylint - run: | - pylint screenpy_selenium + mypy tests diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 01337f1..7e33854 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -16,7 +16,7 @@ jobs: max-parallel: 9 fail-fast: false matrix: - python-version: ["3.8", "3.9", "3.10", "3.11"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] os: [ubuntu-latest] steps: diff --git a/pyproject.toml b/pyproject.toml index 0edef45..4bbc1ef 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -143,7 +143,7 @@ select = [ # "TCH", # flake8-type-checking # "TRY", # tryceratops # "UP", # python upgrade -# "W", # pycodestyle warning + "W", # pycodestyle warning # "YTT", # flake8-2020 # we would like these someday, but not yet