Skip to content

Commit 997f732

Browse files
committed
Complete the switch to Rocky 9 using containers.
1 parent 75f8c3b commit 997f732

File tree

1 file changed

+0
-33
lines changed

1 file changed

+0
-33
lines changed

.github/workflows/python-sanity-check.yml

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -46,39 +46,6 @@ jobs:
4646
# run: |
4747
# pytest
4848

49-
lint-python3-rocky9ish:
50-
runs-on: ubuntu-22.04
51-
steps:
52-
- uses: actions/checkout@v4
53-
- name: Set up Python 3.9.18 to mimic Rocky9
54-
uses: actions/setup-python@v5
55-
with:
56-
python-version: "3.9.18"
57-
- name: Install dependencies
58-
run: |
59-
python -m pip install --upgrade pip
60-
pip install flake8 pytest
61-
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
62-
- name: Lint with flake8
63-
run: |
64-
# TODO: fix unittest dir and remove from excludes
65-
# TODO: fix or migrate legacy grsfs-fuse dir and remove from excludes
66-
# NOTE: include tests here as they should be fully python3 compatible
67-
# stop the build if there are Python syntax errors or undefined names
68-
flake8 . --exclude=state,envhelp,fixture,output,unittest,grsfs-fuse,irclib.py,seafile-seahub_settings-template.py --count --select=E9,F63,F7,F82 --show-source --statistics
69-
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
70-
flake8 . --exclude=state,envhelp,fixture,output,unittest,grsfs-fuse,vm-proxy,irclib.py,seafile-seahub_settings-template.py --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
71-
# NOTE: for interactive clean up one can use current ignores
72-
# E501 Ignore long lines, E402 imports below top, E722 bare except,
73-
# F401 unused imports, F502 explicit list in str expand, F841 unused var,
74-
# E721 compare type instead of isinstance, W293 blank line with space,
75-
# C901 too complex get
76-
#flake8 mig --exclude=unittest,grsfs-fuse,vm-proxy,irclib.py,seafile-seahub_settings-template.py --ignore=E501,E402,E722,F401,F502,E713,F841,C901 --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
77-
# TODO: prepare and enable pytest
78-
#- name: Test with pytest
79-
# run: |
80-
# pytest
81-
8249
lint-python3-rocky9:
8350
runs-on: ubuntu-22.04
8451
container:

0 commit comments

Comments
 (0)