Skip to content

Commit 2bddcd3

Browse files
authored
chore(FIR-34713): Add missing classifiers to setup.cfg (#403)
1 parent 6914d2f commit 2bddcd3

File tree

3 files changed

+14
-9
lines changed

3 files changed

+14
-9
lines changed

.github/workflows/unit-tests.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ jobs:
2626
uses: actions/checkout@v2
2727
with:
2828
ref: ${{ inputs.branch }}
29-
29+
3030
- name: Set up Python 3.8
3131
uses: actions/setup-python@v2
3232
with:
3333
python-version: 3.8
34-
34+
3535
- name: Install dependencies
3636
run: |
3737
python -m pip install --upgrade pip
@@ -40,7 +40,7 @@ jobs:
4040
- name: Run unit tests
4141
run: |
4242
pytest --cov=src/ tests/unit --cov-report=xml --alluredir=allure-results
43-
43+
4444
- name: Get Allure history
4545
uses: actions/checkout@v2
4646
if: always()
@@ -57,12 +57,12 @@ jobs:
5757
github-key: ${{ secrets.GITHUB_TOKEN }}
5858

5959
- name: Upload coverage report
60-
uses: actions/upload-artifact@v2
60+
uses: actions/upload-artifact@v4
6161
continue-on-error: true
6262
with:
6363
name: pytest-coverage-report
6464
path: coverage.xml
65-
65+
6666
- name: Extract coverage percent
6767
id: coverage
6868
if: github.event_name == 'push'
@@ -74,7 +74,7 @@ jobs:
7474
colour=$(if [ $percentage_whole -ge 80 ]; then echo "green"; else echo "orange"; fi)
7575
echo "colour=$colour" >> $GITHUB_OUTPUT
7676
echo "covered=$percentage_whole" >> $GITHUB_OUTPUT
77-
77+
7878
- name: Create Coverage Badge
7979
uses: schneegans/[email protected]
8080
if: github.event_name == 'push'

.pre-commit-config.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,11 @@ repos:
66
- id: check-merge-conflict
77

88
- repo: https://github.com/asottile/setup-cfg-fmt
9-
rev: v1.17.0
9+
rev: v2.5.0
1010
hooks:
1111
- id: setup-cfg-fmt
12+
args:
13+
- --include-version-classifiers
1214

1315
- repo: https://github.com/myint/autoflake
1416
rev: v1.4

setup.cfg

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,17 @@ url = https://github.com/firebolt-db/firebolt-sdk
88
author = Firebolt
99
author_email = [email protected]
1010
license = Apache-2.0
11-
license_file = LICENSE
11+
license_files = LICENSE
1212
classifiers =
1313
License :: OSI Approved :: Apache Software License
1414
Operating System :: OS Independent
1515
Programming Language :: Python :: 3
1616
Programming Language :: Python :: 3 :: Only
1717
Programming Language :: Python :: 3.8
1818
Programming Language :: Python :: 3.9
19+
Programming Language :: Python :: 3.10
20+
Programming Language :: Python :: 3.11
21+
Programming Language :: Python :: 3.12
1922
project_urls =
2023
Bug Tracker = https://github.com/firebolt-db/firebolt-sdk/issues
2124

@@ -51,7 +54,7 @@ dev =
5154
allure-pytest==2.*
5255
devtools==0.7.0
5356
mypy==1.*,<1.10.0
54-
pre-commit==2.15.0
57+
pre-commit==3.5.0
5558
pyfakefs>=4.5.3
5659
pytest==7.2.0
5760
pytest-cov==3.0.0

0 commit comments

Comments
 (0)