diff --git a/.flake8 b/.flake8 index 2d028b2..2ea7395 100644 --- a/.flake8 +++ b/.flake8 @@ -1,7 +1,6 @@ [flake8] filename = - *.py, - *.pys + *.py max-line-length = 120 extend-exclude = venv/ diff --git a/.github/workflows/python-flake8.yml b/.github/workflows/python-flake8.yml index 61e23f7..f6e9783 100644 --- a/.github/workflows/python-flake8.yml +++ b/.github/workflows/python-flake8.yml @@ -26,13 +26,14 @@ 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: | - python -m flake8 --verbose + python -m flake8 \ + --color=always \ + --verbose diff --git a/docs/source/conf.py b/docs/source/conf.py index ee0d3e0..e7cae74 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -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