Skip to content

Add GitHub Actions lint job (flake8) - #1363

Open
shravankumrg wants to merge 1 commit into
kimchi-project:masterfrom
shravankumrg:shravankumrg-ci-github-actions-lint
Open

Add GitHub Actions lint job (flake8)#1363
shravankumrg wants to merge 1 commit into
kimchi-project:masterfrom
shravankumrg:shravankumrg-ci-github-actions-lint

Conversation

@shravankumrg

Copy link
Copy Markdown

Adds a GitHub Actions workflow at .github/workflows/lint.yml to run flake8 (and pycodestyle) against Python files using the repo's existing config (.flake8 / setup.cfg). The job uses pip caching for speed and supports a workflow_dispatch input 'skip-large-files' to avoid noisy large or third-party directories.\n\nBadge: Lint\n\nOpt-out / noise control: run the workflow manually with the 'skip-large-files' input set to true, or add directories to the excludes in this workflow or the repo's .flake8.\n\nPlease review and suggest any project-specific excludes to keep CI noise low.

Adds .github/workflows/lint.yml to run flake8 in CI. Uses pip cache and offers a workflow_dispatch input skip-large-files to avoid noisy large/3rd-party folders.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant