File tree Expand file tree Collapse file tree 2 files changed +29
-5
lines changed Expand file tree Collapse file tree 2 files changed +29
-5
lines changed Original file line number Diff line number Diff line change 77 - main
88 - renovate/**
99 pull_request :
10+ workflow_dispatch :
11+
12+ concurrency :
13+ cancel-in-progress : true
14+ group : >-
15+ ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
1016
1117jobs :
1218 test :
Original file line number Diff line number Diff line change @@ -70,21 +70,39 @@ paths.source = [
7070]
7171
7272[tool .mypy ]
73+ enable_error_code = [
74+ " ignore-without-code" ,
75+ " redundant-expr" ,
76+ " truthy-bool" ,
77+ ]
7378strict = true
79+ warn_unreachable = true
7480
7581[tool .pytest .ini_options ]
76- addopts = """
77- --color=yes
78- --import-mode=importlib
79- --verbose
80- """
82+ addopts = [
83+ " --color=yes" ,
84+ " --import-mode=importlib" ,
85+ " --strict-config" ,
86+ " --strict-markers" ,
87+ " --verbose" ,
88+ " -ra" ,
89+ ]
90+ filterwarnings = [
91+ " error" ,
92+ ]
93+ log_cli_level = " INFO"
94+ minversion = 6
8195testpaths = [
8296 " tests" ,
8397]
98+ xfail_strict = true
8499
85100[tool .ruff ]
86101fix = true
87102force-exclude = true
103+ src = [
104+ " src" ,
105+ ]
88106lint.ignore = [
89107 " COM812" ,
90108 " D203" ,
You can’t perform that action at this time.
0 commit comments