Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 21 additions & 21 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ optional-dependencies.dev = [
"pydocstyle==6.3",
"pylint[spelling]==4.0.4",
"pylint-per-file-ignores==3.2.0",
"pyproject-fmt==2.11.1",
"pyrefly==0.51.0",
"pyproject-fmt==2.12.1",
"pyrefly==0.50.1",
"pyright==1.1.408",
"pyroma==5.0.1",
"pytest==9.0.2",
Expand Down Expand Up @@ -115,16 +115,16 @@ urls.Source = "https://github.com/VWS-Python/vws-python-mock"
[tool.setuptools]
zip-safe = false

[tool.setuptools.packages.find]
where = [
"src",
]

[tool.setuptools.package-data]
mock_vws = [
"py.typed",
]

[tool.setuptools.packages.find]
where = [
"src",
]

[tool.distutils.bdist_wheel]
universal = true

Expand Down Expand Up @@ -195,6 +195,12 @@ lint.pydocstyle.convention = "google"

[tool.pylint]

[tool.pylint.'FORMAT']

# Allow the body of an if to be on the same line as the test if there is no
# else.
single-line-if-stmt = false

[tool.pylint.'MASTER']

# Pickle collected data for later comparisons.
Expand Down Expand Up @@ -287,12 +293,6 @@ disable = [
'wrong-import-order',
]

[tool.pylint.'FORMAT']

# Allow the body of an if to be on the same line as the test if there is no
# else.
single-line-if-stmt = false

[tool.pylint.'SPELLING']

# Spelling dictionary name. Available dictionaries: none. To make it working
Expand Down Expand Up @@ -368,6 +368,14 @@ retries = 10
retry_delay = 10
cumulative_timing = false

[tool.coverage.report]

exclude_also = [
"if TYPE_CHECKING:",
"class .*\\bProtocol\\):",
]
fail_under = 100

[tool.coverage.run]

branch = true
Expand All @@ -377,14 +385,6 @@ omit = [
parallel = true
source = [ "src/", "tests/" ]

[tool.coverage.report]

exclude_also = [
"if TYPE_CHECKING:",
"class .*\\bProtocol\\):",
]
fail_under = 100

[tool.mypy]

strict = true
Expand Down
Loading