Skip to content

Commit

Permalink
ci(python): update flake8 workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ReenigneArcher committed Aug 17, 2024
1 parent 4c509c8 commit 2670daf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
3 changes: 1 addition & 2 deletions .flake8
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
[flake8]
filename =
*.py,
*.pys
*.py
max-line-length = 120
extend-exclude =
venv/
5 changes: 2 additions & 3 deletions .github/workflows/python-flake8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,11 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5 # https://github.com/actions/setup-python
with:
python-version: '3.10'
python-version: '3.12'

- name: Install dependencies
run: |
# pin flake8 before v6.0.0 due to removal of support for type comments (required for Python 2.7 type hints)
python -m pip install --upgrade pip setuptools "flake8<6"
python -m pip install --upgrade pip setuptools flake8
- name: Test with flake8
run: |
Expand Down
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

# -- Project information -----------------------------------------------------
project = 'LizardByte'
project_copyright = f'{datetime.now ().year}, {project}'
project_copyright = f'{datetime.now().year}, {project}'
author = 'ReenigneArcher'

# The full version, including alpha/beta/rc tags
Expand Down

0 comments on commit 2670daf

Please sign in to comment.