Skip to content

Commit 9804ea2

Browse files
authored
Test against python 3.11 and remove obsolete code-quality workflow (#14)
* chore(ci): remove obsolete `code-quality` workflow * chore(ci): test against Python 3.11 * chore(ci): use `1.1.13` for Poetry version to install * chore(ci): bump actions * chore(pre-commit): pin `flake8-bugbear` * chore(pre-commit): remove unneeeded `toml` extra for `isort` * chore(isort): remove options already in `black` profile
1 parent 0fab381 commit 9804ea2

4 files changed

Lines changed: 6 additions & 23 deletions

File tree

.github/workflows/code-quality.yaml

Lines changed: 0 additions & 15 deletions
This file was deleted.

.github/workflows/installer.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ jobs:
2525
strategy:
2626
matrix:
2727
os: [Ubuntu, macOS, Windows]
28-
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
28+
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11-dev"]
2929
args:
3030
- ""
3131
- "--preview"
3232
- "--git https://github.com/python-poetry/poetry.git"
33-
- "--version 1.1.11"
33+
- "--version 1.1.13"
3434
include:
3535
- os: Ubuntu
3636
image: ubuntu-latest
@@ -42,10 +42,10 @@ jobs:
4242
run:
4343
shell: bash
4444
steps:
45-
- uses: actions/checkout@v2
45+
- uses: actions/checkout@v3
4646

4747
- name: Set up Python ${{ matrix.python-version }}
48-
uses: actions/setup-python@v2
48+
uses: actions/setup-python@v3
4949
with:
5050
python-version: ${{ matrix.python-version }}
5151

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ repos:
88
rev: 4.0.1
99
hooks:
1010
- id: flake8
11-
additional_dependencies: [flake8-bugbear]
11+
additional_dependencies:
12+
- flake8-bugbear==22.4.25
1213

1314
- repo: https://github.com/PyCQA/isort
1415
rev: 5.10.1
1516
hooks:
1617
- id: isort
17-
additional_dependencies: [toml]
1818

1919
- repo: https://github.com/pre-commit/pre-commit-hooks
2020
rev: v4.2.0

pyproject.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,8 @@
22
profile = "black"
33
force_single_line = true
44
atomic = true
5-
include_trailing_comma = true
65
lines_after_imports = 2
76
lines_between_types = 1
8-
use_parentheses = true
97
filter_files = true
108

119

0 commit comments

Comments
 (0)