Skip to content

Commit

Permalink
Add options from Scientific Python
Browse files Browse the repository at this point in the history
  • Loading branch information
paddyroddy committed May 24, 2024
1 parent 11f6842 commit 3976d53
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 5 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ on:
- main
- renovate/**
pull_request:
workflow_dispatch:

concurrency:
cancel-in-progress: true
group: >-
${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
jobs:
test:
Expand Down
28 changes: 23 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -70,21 +70,39 @@ paths.source = [
]

[tool.mypy]
enable_error_code = [
"ignore-without-code",
"redundant-expr",
"truthy-bool",
]
strict = true
warn_unreachable = true

[tool.pytest.ini_options]
addopts = """
--color=yes
--import-mode=importlib
--verbose
"""
addopts = [
"--color=yes",
"--import-mode=importlib",
"--strict-config",
"--strict-markers",
"--verbose",
"-ra",
]
filterwarnings = [
"error",
]
log_cli_level = "INFO"
minversion = 6
testpaths = [
"tests",
]
xfail_strict = true

[tool.ruff]
fix = true
force-exclude = true
src = [
"src",
]
lint.ignore = [
"COM812",
"D203",
Expand Down

0 comments on commit 3976d53

Please sign in to comment.