Skip to content

Commit 7d96e60

Browse files
committed
Merge branch 'main' into fix/lbi-empty-only-import-files
2 parents 64f7e0d + cc04d6a commit 7d96e60

File tree

123 files changed

+5707
-5364
lines changed

Some content is hidden

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

123 files changed

+5707
-5364
lines changed

.coveragerc

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

.cruft.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"template": "https://github.com/timothycrosley/cookiecutter-python/",
3-
"commit": "4f2a3601ad12239bf6cbeedba8ecf297690ab07f",
3+
"commit": "71391fd9999067ef4b38aa05e7116087fac431f8",
44
"context": {
55
"cookiecutter": {
66
"full_name": "Timothy Crosley",

.deepsource.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ test_patterns = ["tests/**"]
44
exclude_patterns = [
55
"tests/**",
66
"scripts/**",
7-
"isort/_future/**",
87
"isort/_vendored/**",
98
]
109

.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/labels.yml

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
---
2+
# Labels names are important as they are used by Release Drafter to decide
3+
# regarding where to record them in changelog or if to skip them.
4+
#
5+
# The repository labels will be automatically configured using this file and
6+
# the GitHub Action https://github.com/marketplace/actions/github-labeler.
7+
- name: breaking
8+
description: Breaking Changes
9+
color: "bfd4f2"
10+
- name: bug
11+
description: Something isn't working
12+
color: "d73a4a"
13+
- name: build
14+
description: Build System and Dependencies
15+
color: "bfdadc"
16+
- name: ci
17+
description: Continuous Integration
18+
color: "4a97d6"
19+
- name: dependencies
20+
description: Pull requests that update a dependency file
21+
color: "0366d6"
22+
- name: documentation
23+
description: Improvements or additions to documentation
24+
color: "0075ca"
25+
- name: duplicate
26+
description: This issue or pull request already exists
27+
color: "cfd3d7"
28+
- name: enhancement
29+
description: New feature or request
30+
color: "a2eeef"
31+
- name: github_actions
32+
description: Pull requests that update Github_actions code
33+
color: "000000"
34+
- name: good first issue
35+
description: Good for newcomers
36+
color: "7057ff"
37+
- name: help wanted
38+
description: Extra attention is needed
39+
color: "008672"
40+
- name: invalid
41+
description: This doesn't seem right
42+
color: "e4e669"
43+
- name: performance
44+
description: Performance
45+
color: "016175"
46+
- name: python
47+
description: Pull requests that update Python code
48+
color: "2b67c6"
49+
- name: question
50+
description: Further information is requested
51+
color: "d876e3"
52+
- name: refactoring
53+
description: Refactoring
54+
color: "ef67c4"
55+
- name: removal
56+
description: Removals and deprecations
57+
color: "9ae7ea"
58+
- name: style
59+
description: Style
60+
color: "c120e5"
61+
- name: testing
62+
description: Testing
63+
color: "b1fc6f"
64+
- name: wontfix
65+
description: This will not be worked on
66+
color: "ffffff"
67+
- name: skip-changelog
68+
description: This will not be added to release notes
69+
color: "dddddd"

.github/release-drafter.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
template: |
3+
## Changes
4+
5+
$CHANGES
6+
7+
categories:
8+
- title: ":boom: Breaking Changes"
9+
label: "breaking"
10+
- title: ":rocket: Features"
11+
label: "enhancement"
12+
- title: ":fire: Removals and Deprecations"
13+
label: "removal"
14+
- title: ":beetle: Fixes"
15+
label: "bug"
16+
- title: ":raising_hand: Help wanted"
17+
label: "help wanted"
18+
- title: ":racehorse: Performance"
19+
label: "performance"
20+
- title: ":rotating_light: Testing"
21+
label: "testing"
22+
- title: ":construction_worker: Continuous Integration"
23+
label: "ci"
24+
- title: ":books: Documentation"
25+
label: "documentation"
26+
- title: ":hammer: Refactoring"
27+
label: "refactoring"
28+
- title: ":lipstick: Style"
29+
label: "style"
30+
- title: ":package: Dependencies"
31+
labels:
32+
- "dependencies"
33+
- "build"
34+
35+
exclude-labels:
36+
- "skip-changelog"

.github/workflows/integration.yml

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,36 @@
1+
---
12
name: Integration
23

3-
on: [push, pull_request]
4+
"on":
5+
push:
6+
pull_request:
7+
8+
permissions:
9+
contents: read
410

511
jobs:
612
build:
713
runs-on: ubuntu-latest
814
strategy:
915
matrix:
10-
python-version: ["3.8"]
16+
python-version: ["3.12"]
1117

1218
steps:
13-
- uses: actions/checkout@v2
14-
15-
- name: pip cache
16-
uses: actions/cache@v2
17-
with:
18-
path: ~/.cache/pip
19-
key: integration-pip-${{ hashFiles('**/pyproject.toml') }}
20-
restore-keys: |
21-
integration-pip-
19+
- uses: actions/checkout@v5
2220

2321
- name: Set up Python ${{ matrix.python-version }}
24-
uses: actions/setup-python@v2
22+
uses: actions/setup-python@v6
2523
with:
2624
python-version: ${{ matrix.python-version }}
2725

26+
- name: Install UV
27+
uses: astral-sh/setup-uv@v6
28+
with:
29+
enable-cache: true
30+
version: ">=0.6.0"
31+
2832
- name: Install dependencies
29-
run: |
30-
python -m pip install --upgrade pip
31-
python -m pip install --upgrade poetry
32-
poetry install
33+
run: uv sync --all-extras --frozen
3334

3435
- name: Test integration
3536
run: ./scripts/test_integration.sh

.github/workflows/labeler.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
name: Labeler
3+
4+
"on":
5+
push:
6+
branches:
7+
- main
8+
9+
jobs:
10+
labeler:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Check out the repository
14+
uses: actions/checkout@v5
15+
16+
- name: Run Labeler
17+
uses: crazy-max/ghaction-github-labeler@v5
18+
with:
19+
skip-delete: true

.github/workflows/lint.yml

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,36 @@
1+
---
12
name: Lint
23

3-
on: [push, pull_request]
4+
"on":
5+
push:
6+
pull_request:
7+
8+
permissions:
9+
contents: read
410

511
jobs:
612
build:
713
runs-on: ubuntu-latest
814
strategy:
915
matrix:
10-
python-version: ["3.8"]
16+
python-version: ["3.12"]
1117

1218
steps:
13-
- uses: actions/checkout@v2
14-
15-
- name: pip cache
16-
uses: actions/cache@v2
17-
with:
18-
path: ~/.cache/pip
19-
key: lint-pip-${{ hashFiles('**/pyproject.toml') }}
20-
restore-keys: |
21-
lint-pip-
19+
- uses: actions/checkout@v5
2220

2321
- name: Set up Python ${{ matrix.python-version }}
24-
uses: actions/setup-python@v2
22+
uses: actions/setup-python@v6
2523
with:
2624
python-version: ${{ matrix.python-version }}
2725

26+
- name: Install UV
27+
uses: astral-sh/setup-uv@v6
28+
with:
29+
enable-cache: true
30+
version: ">=0.6.0"
31+
2832
- name: Install dependencies
29-
run: |
30-
python -m pip install --upgrade pip
31-
python -m pip install --upgrade poetry
32-
poetry install
33+
run: uv sync --all-extras --frozen
3334

3435
- name: Lint
35-
run: ./scripts/lint.sh
36+
run: uv run --with tox-uv tox -e lint

.github/workflows/release-dev.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
---
2+
name: Release Dev
3+
4+
"on":
5+
push:
6+
branches:
7+
- main
8+
9+
jobs:
10+
release:
11+
if: github.repository_owner == 'PyCQA'
12+
name: Release
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Check out the repository
16+
uses: actions/checkout@v5
17+
with:
18+
fetch-depth: 2
19+
20+
- name: Set up Python
21+
uses: actions/setup-python@v6
22+
with:
23+
python-version: "3.13"
24+
25+
- name: Install UV
26+
uses: astral-sh/setup-uv@v6
27+
with:
28+
version: ">=0.6.0"
29+
30+
- name: Build package
31+
run: |
32+
uv build

0 commit comments

Comments
 (0)