-
Notifications
You must be signed in to change notification settings - Fork 26
34 lines (30 loc) · 1 KB
/
python_lint.yaml
File metadata and controls
34 lines (30 loc) · 1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Ensure Python code is linted and formatted, matching the style guide
name: Python Linting
on: [push]
jobs:
black-lint:
runs-on: ubuntu-latest
name: Python black Lint
steps:
- uses: actions/checkout@v4
- uses: psf/black@stable
with:
version: "22.3.0"
# flake8-lint:
# runs-on: ubuntu-latest
# name: Python flake8 Lint
# steps:
# - name: Check out source repository
# uses: actions/checkout@v3
# - name: Set up Python environment
# uses: actions/setup-python@v4
# with:
# python-version: "3.11"
# - name: flake8 Lint
# uses: py-actions/flake8@v2
# with:
# ignore: "E701,W503,E203"
# exclude: "docs,.idea"
# max-line-length: "88"
# path: "."
# plugins: "flake8-docstrings flake8-black"