Skip to content

Commit

Permalink
fix: gh actions fix bllint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
savon-noir committed Jan 19, 2025
1 parent 5c15ec3 commit 1f649c4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/preflight_check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ on:

jobs:
lint:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: [3.6.15, 3.7.17, 3.8.18]
python-version: ["3.8", "3.9", "3.10"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -28,16 +28,16 @@ jobs:
uses: psf/black@stable
with:
options: "--check -l 79 --exclude docs/"
version: "24.10.0"
version: "22.8.0"
- name: Format checker with isort
run: isort --check-only -m 3 -l 79 --profile=black .
- name: Lint with flake8
run: flake8 --exclude test,docs,examples .
test:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: [3.5.10, 3.6.15, 3.7.17, 3.8.18]
python-version: ["3.7", "3.8", "3.9", "3.10"]
steps:
- uses: actions/checkout@v4
- name: Setup Python ${{ matrix.python-version }}
Expand Down Expand Up @@ -65,7 +65,7 @@ jobs:
coveralls:
name: Finish Coveralls
needs: test
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
container: python:3-slim
steps:
- name: Finished
Expand Down
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
black==24.10.0
black==22.8.0
defusedxml==0.6.0
isort==5.6.4
pre-commit
Expand Down

0 comments on commit 1f649c4

Please sign in to comment.