Skip to content

Commit 537fac7

Browse files
committed
update pre-commit hooks and CI/CD
1 parent 6a8e6ed commit 537fac7

File tree

8 files changed

+49
-195
lines changed

8 files changed

+49
-195
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
name: check version
2+
on:
3+
pull_request:
4+
paths-ignore:
5+
- README.md
6+
branches:
7+
- master
8+
jobs:
9+
check-version:
10+
uses: QualiSystems/.github/.github/workflows/package-check-version.yml@master
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: deploy package
2+
on:
3+
release:
4+
types: [ published ]
5+
jobs:
6+
tox-ci:
7+
uses: QualiSystems/.github/.github/workflows/package-tox-py-37-39.yml@master
8+
pypi-deploy:
9+
needs: tox-ci
10+
uses: QualiSystems/.github/.github/workflows/package-deploy-pypi.yml@master
11+
secrets: inherit
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: github release
2+
on:
3+
push:
4+
paths-ignore:
5+
- README.md
6+
branches:
7+
- master
8+
jobs:
9+
tox-ci:
10+
uses: QualiSystems/.github/.github/workflows/package-tox-py-37-39.yml@master
11+
pypi-deploy:
12+
needs: tox-ci
13+
uses: QualiSystems/.github/.github/workflows/package-github-release.yml@master

.github/workflows/package.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
name: package CI
2+
on:
3+
push:
4+
paths-ignore:
5+
- README.md
6+
branches-ignore:
7+
- master
8+
jobs:
9+
tox-ci:
10+
uses: QualiSystems/.github/.github/workflows/package-tox-py-37-39.yml@master

.github/workflows/py2-py3-packages-ci.yml

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

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
repos:
22
- repo: https://github.com/timothycrosley/isort
3-
rev: 5.10.1
3+
rev: 5.12.0
44
hooks:
55
- id: isort
66
- repo: https://github.com/python/black
7-
rev: 22.3.0
7+
rev: 22.12.0
88
hooks:
99
- id: black
1010
- repo: https://github.com/pycqa/flake8
11-
rev: 4.0.1
11+
rev: 5.0.4
1212
hooks:
1313
- id: flake8
1414
additional_dependencies: [
@@ -17,4 +17,4 @@ repos:
1717
flake8-comprehensions,
1818
flake8-print,
1919
flake8-eradicate,
20-
]
20+
]

shellfoundry/utilities/template_retriever.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
TEMPLATES_YML,
2424
)
2525

26-
2726
REQUEST_TIMEOUT = 15
2827

2928

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# and then run "tox" from this directory.
55
[tox]
66
envlist =
7-
py{37}-{master}
7+
py{37,39}-{master}
88
pre-commit
99
build
1010
distshare = dist

0 commit comments

Comments
 (0)