Skip to content

Commit 20425ce

Browse files
authored
Merge branch 'main' into fix-docs
2 parents 8a61d1e + 878824b commit 20425ce

File tree

89 files changed

+2333
-1863
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

89 files changed

+2333
-1863
lines changed

.coveragerc

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

.flake8

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[flake8]
22
max-line-length = 100
33
# Ignore non PEP 8 compliant rules as suggested by black
4+
# E203: https://github.com/psf/black/blob/3fab5ade71bccf80ae0a5af76729099869adea56/docs/the_black_code_style/current_style.md#slices
45
extend-ignore =
5-
E203, # https://github.com/psf/black/blob/master/docs/the_black_code_style.md#slices
6-
E501
6+
E203,
7+
E501,
8+
B017
79
exclude = _vendored
810
per-file-ignores =
9-
isort/__init__.py:F401
10-
isort/stdlibs/__init__.py:F401
1111
tests/unit/example_crlf_file.py:F401

.github/dependabot.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
2+
version: 2
3+
updates:
4+
- package-ecosystem: "github-actions"
5+
directory: "/"
6+
schedule:
7+
interval: "monthly"
8+
groups:
9+
github-actions:
10+
patterns:
11+
- "*"

.github/workflows/constraints.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
pip==22.3.1
1+
pip==23.2
22
virtualenv==20.17.1

.github/workflows/integration.yml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,23 +13,16 @@ jobs:
1313
runs-on: ubuntu-latest
1414
strategy:
1515
matrix:
16-
python-version: ["3.11"]
16+
python-version: ["3.12"]
1717

1818
steps:
19-
- uses: actions/checkout@v2
20-
21-
- name: pip cache
22-
uses: actions/cache@v2
23-
with:
24-
path: ~/.cache/pip
25-
key: integration-pip-${{ hashFiles('**/pyproject.toml') }}
26-
restore-keys: |
27-
integration-pip-
19+
- uses: actions/checkout@v4
2820

2921
- name: Set up Python ${{ matrix.python-version }}
30-
uses: actions/setup-python@v2
22+
uses: actions/setup-python@v5
3123
with:
3224
python-version: ${{ matrix.python-version }}
25+
cache: "pip"
3326

3427
- name: Upgrade pip
3528
run: |

.github/workflows/labeler.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Check out the repository
14-
uses: actions/checkout@v3
14+
uses: actions/checkout@v4
1515

1616
- name: Run Labeler
17-
uses: crazy-max/ghaction-github-labeler@v4
17+
uses: crazy-max/ghaction-github-labeler@v5
1818
with:
1919
skip-delete: true

.github/workflows/lint.yml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,23 +13,16 @@ jobs:
1313
runs-on: ubuntu-latest
1414
strategy:
1515
matrix:
16-
python-version: ["3.11"]
16+
python-version: ["3.12"]
1717

1818
steps:
19-
- uses: actions/checkout@v2
20-
21-
- name: pip cache
22-
uses: actions/cache@v2
23-
with:
24-
path: ~/.cache/pip
25-
key: lint-pip-${{ hashFiles('**/pyproject.toml') }}
26-
restore-keys: |
27-
lint-pip-
19+
- uses: actions/checkout@v4
2820

2921
- name: Set up Python ${{ matrix.python-version }}
30-
uses: actions/setup-python@v2
22+
uses: actions/setup-python@v5
3123
with:
3224
python-version: ${{ matrix.python-version }}
25+
cache: "pip"
3326

3427
- name: Upgrade pip
3528
run: |
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
poetry==1.3.1
1+
poetry==2.0.1

.github/workflows/release-drafter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ jobs:
1111
if: github.repository_owner == 'PyCQA'
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: release-drafter/release-drafter@v5
14+
- uses: release-drafter/release-drafter@v6
1515
env:
1616
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Check out the repository
16-
uses: actions/checkout@v3
16+
uses: actions/checkout@v4
1717
with:
1818
fetch-depth: 2
1919

2020
- name: Set up Python
21-
uses: actions/setup-python@v4
21+
uses: actions/setup-python@v5
2222
with:
23-
python-version: "3.11"
23+
python-version: "3.12"
2424

2525
- name: Upgrade pip
2626
run: |
@@ -65,7 +65,7 @@ jobs:
6565
password: ${{ secrets.PYPI_API_TOKEN }}
6666

6767
- name: Publish the release notes
68-
uses: release-drafter/release-drafter@v5
68+
uses: release-drafter/release-drafter@v6
6969
with:
7070
publish: ${{ steps.check-version.outputs.tag != '' }}
7171
tag: ${{ steps.check-version.outputs.tag }}

0 commit comments

Comments
 (0)