Skip to content
Merged
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
36 changes: 8 additions & 28 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

# build-system
[build-system]
build-backend = "hatchling.build"
requires = ["hatchling"]
build-backend = "uv_build"
requires = ["uv_build"]

# dependency groups
[dependency-groups]
Expand Down Expand Up @@ -49,15 +49,6 @@ branch = true
data_file = ".coverage/data"
parallel = true

# hatch
[tool.hatch]

[tool.hatch.build.targets.sdist]
include = ["src"]

[tool.hatch.build.targets.wheel]
packages = ["src/dycw_template"]

# nitpick
[tool.nitpick]
style = [
Expand Down Expand Up @@ -87,6 +78,7 @@ reportUnknownArgumentType = false
reportUnknownMemberType = false
reportUnknownParameterType = false
reportUnknownVariableType = false
reportUnnecessaryComparison = false
reportUnnecessaryTypeIgnoreComment = true
reportUnusedCallResult = true
reportUnusedImport = false
Expand Down Expand Up @@ -132,17 +124,8 @@ ignore = [
"ANN401", # any-type
"ASYNC109", # async-function-with-timeout
"C901", # complex-structure
"CPY001", # missing-copyright-notice
"D100", # undocumented-public-module
"D101", # undocumented-public-class
"D102", # undocumented-public-method
"D103", # undocumented-public-function
"D104", # undocumented-public-package
"D105", # undocumented-magic-method
"D106", # undocumented-public-nested-class
"D107", # undocumented-public-init
"D203", # one-blank-line-before-class
"D213", # multi-line-summary-second-line
"CPY", # flake8-copyright
"D", # pydocstyle
"DOC", # pydoclint
"E501", # line-too-long
"PD", # pandas-vet
Expand All @@ -156,7 +139,10 @@ ignore = [
"PLR2004", # magic-value-comparison
"PT012", # pytest-raises-with-multiple-statements
"PT013", # pytest-incorrect-pytest-import
"S202", # tarfile-unsafe-members
"S310", # suspicious-url-open-usage
"S311", # suspicious-non-cryptographic-random-usage
"S602", # subprocess-popen-with-shell-equals-true
"S603", # subprocess-without-shell-equals-true
"S607", # start-process-with-partial-path
# preview
Expand All @@ -166,12 +152,6 @@ ignore = [
"E111", # indentation-with-invalid-multiple
"E114", # indentation-with-invalid-multiple-comment
"E117", # over-indented
"D206", # indent-with-spaces
"D300", # triple-single-quotes
"Q000", # bad-quotes-inline-string
"Q001", # bad-quotes-multiline-string
"Q002", # bad-quotes-docstring
"Q003", # avoidable-escaped-quote
"COM812", # missing-trailing-comma
"COM819", # prohibited-trailing-comma
"ISC001", # single-line-implicit-string-concatenation
Expand Down
Loading