Skip to content
This repository was archived by the owner on Aug 28, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Next Next commit
port config
  • Loading branch information
Borda committed Jan 25, 2023
commit 8bcc3b6b813c9ef21cd07139bc7bed7ea4e9f7d6
40 changes: 40 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,43 @@
[metadata]
license_file = "LICENSE"
description-file = "README.md"


[tool.check-manifest]
ignore = [
"*.yml",
".github",
".github/*"
]


[tool.pytest.ini_options]
norecursedirs = [
".git",
".github",
"dist",
"build",
"docs",
]
addopts = [
"--strict-markers",
"--doctest-modules",
"--color=yes",
"--disable-pytest-warnings",
]
filterwarnings = [
"error::FutureWarning",
]
xfail_strict = true
junit_duration_report = "call"

[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"pass",
]


[tool.black]
# https://github.com/psf/black
line-length = 120
Expand Down
31 changes: 0 additions & 31 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,20 +1,3 @@
[tool:pytest]
norecursedirs =
.git
.github
dist
build
addopts =
--strict
--doctest-modules
--color=yes

[coverage:report]
exclude_lines =
pragma: no-cover
pass


[flake8]
max-line-length = 120
exclude =
Expand All @@ -33,17 +16,3 @@ ignore =
# whitespace before ':'
E203


# setup.cfg or tox.ini
[check-manifest]
ignore =
*.yml
.github
.github/*


[metadata]
license_file = LICENSE
description-file = README.md
# long_description = file:README.md
# long_description_content_type = text/markdown