Skip to content

Commit fc3042d

Browse files
committed
Updated black version. Remove pypi_upload test on merging into dev.
1 parent 4576e2b commit fc3042d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/python-package.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ jobs:
4949
flag-name: Unit Test
5050

5151
upload_pypi:
52+
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
5253
runs-on: ubuntu-latest
5354
environment: pypi
5455
permissions:

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
repos:
22
- repo: https://github.com/psf/black
3-
rev: 23.3.0
3+
rev: 25.1.0
44
hooks:
55
- id: black
6-
language_version: python3.10
6+
language_version: python3.11
77
args: # arguments to configure black
88
- --line-length=120
99

0 commit comments

Comments
 (0)