Adds .gitea/workflows/lint.yml running flake8 with .flake8 config. Removes unused imports (flask.redirect, flask.url_for, time, typing.Tuple). Config ignores E221/E305 (intentional column alignment and function spacing). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
name: Lint
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: ["**"]
|
||||
pull_request:
|
||||
branches: ["**"]
|
||||
|
||||
jobs:
|
||||
python-lint:
|
||||
name: Python (flake8)
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Install flake8
|
||||
run: pip install flake8
|
||||
|
||||
- name: Run flake8
|
||||
run: flake8 .
|
||||
Reference in New Issue
Block a user