diff --git a/.github/workflows/code-quality.yaml b/.github/workflows/code-quality.yaml deleted file mode 100644 index e1bbef2..0000000 --- a/.github/workflows/code-quality.yaml +++ /dev/null @@ -1,15 +0,0 @@ -name: Code Quality - -on: - pull_request: - push: - branches: [main] - -jobs: - pre-commit: - name: Linting - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 - - uses: pre-commit/action@v2.0.0 diff --git a/.github/workflows/installer.yml b/.github/workflows/installer.yml index 4366587..8efdd37 100644 --- a/.github/workflows/installer.yml +++ b/.github/workflows/installer.yml @@ -25,12 +25,12 @@ jobs: strategy: matrix: os: [Ubuntu, macOS, Windows] - python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"] + python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11-dev"] args: - "" - "--preview" - "--git https://github.com/python-poetry/poetry.git" - - "--version 1.1.11" + - "--version 1.1.13" include: - os: Ubuntu image: ubuntu-latest @@ -42,10 +42,10 @@ jobs: run: shell: bash steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v3 with: python-version: ${{ matrix.python-version }} diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 336f6d9..0553910 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -8,13 +8,13 @@ repos: rev: 4.0.1 hooks: - id: flake8 - additional_dependencies: [flake8-bugbear] + additional_dependencies: + - flake8-bugbear==22.4.25 - repo: https://github.com/PyCQA/isort rev: 5.10.1 hooks: - id: isort - additional_dependencies: [toml] - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.2.0 diff --git a/pyproject.toml b/pyproject.toml index db0e70e..35ef6c3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,10 +2,8 @@ profile = "black" force_single_line = true atomic = true -include_trailing_comma = true lines_after_imports = 2 lines_between_types = 1 -use_parentheses = true filter_files = true