Upload files to ".github/workflows"
This commit is contained in:
25
.github/workflows/code-standards.yml
vendored
Normal file
25
.github/workflows/code-standards.yml
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
name: Code Standards
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
jobs:
|
||||
flake8-lint:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: python:3.12-bookworm
|
||||
name: Lint
|
||||
steps:
|
||||
- name: Check out source repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: flake8 Lint
|
||||
uses: reviewdog/action-flake8@v3
|
||||
with:
|
||||
github_token: '${{ secrets.GITHUB_TOKEN }}'
|
||||
filter_mode: file
|
||||
fail_on_error: true
|
||||
flake8_args: '--ignore E501,E722,F,C9,N8'
|
||||
Reference in New Issue
Block a user