-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (35 loc) · 1.14 KB
/
forlint.yml
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
35
36
37
38
39
name: ForLint
on: [push]
jobs:
format_and_lint:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10"]
steps:
- name: format with black
uses: jpetrucciani/[email protected]
with:
# File or directory to run black on
path: .
- name: Lint
uses: programmingwithalex/[email protected]
with:
# directory to run linting on
python-root: # optional, default is .
# flake8 flags
flake8-flags: # optional, default is
# mypy flags
mypy-flags: # optional, default is
# optional exit on isort errors
fail-on-isort: # optional
# skip flake8 checks
skip-flake8: # optional
# skip mypy checks
skip-mypy: # optional
# skip isort checks
skip-isort: # optional
# list of directories and/or files to ignore for mypy. separate with spaces
mypy-ignore-dirs-files: # optional, default is
# requirements filepath for project for mypy to prevent library stub missing errors
requirements-file: # optional, default is