File tree 2 files changed +33
-0
lines changed
2 files changed +33
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Python linting
2
+ on : [push, pull_request]
3
+ jobs :
4
+ test :
5
+ name : Test
6
+ runs-on : ubuntu-latest
7
+ strategy :
8
+ fail-fast : false
9
+ matrix :
10
+ python-version : ['3.8', '3.12']
11
+ steps :
12
+ - uses : actions/checkout@v3
13
+ - uses : actions/setup-python@v4
14
+ with :
15
+ python-version : ${{ matrix.python-version }}
16
+ - name : Install ruff
17
+ run : pip install ruff
18
+ - name : Run linting
19
+ run : ruff check panagram
20
+ - name : Install mypy
21
+ run : pip install mypy
22
+ - name : Run type checking
23
+ run : mypy panagram
24
+
Original file line number Diff line number Diff line change
1
+ [mypy]
2
+ show_error_codes = True
3
+ ignore_missing_imports = True
4
+ pretty = True
5
+ no_implicit_optional = True
6
+ strict_equality = True
7
+ warn_unreachable = True
8
+ warn_unused_ignores = True
9
+ check_untyped_defs = True
You can’t perform that action at this time.
0 commit comments