Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jul 22, 2024
1 parent b2b3594 commit a512fb4
Showing 1 changed file with 17 additions and 19 deletions.
36 changes: 17 additions & 19 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ keywords = [
"Deep Learning",
"Machine Learning",
]
license = {file = "LICENSE"}
license = { file = "LICENSE" }
maintainers = [
{name = "Zhiyuan Chen", email = "[email protected]"},
{ name = "Zhiyuan Chen", email = "[email protected]" },
]
authors = [
{name = "Zhiyuan Chen", email = "[email protected]"},
{ name = "Zhiyuan Chen", email = "[email protected]" },
]
requires-python = ">=3.7"
classifiers = [
Expand All @@ -41,34 +41,32 @@ dynamic = [
"version",
]
dependencies = [
'cached-property; python_version < "3.8"',
"cached-property; python_version<'3.8'",
"chanfig>=0.0.96",
"gitpython",
"lazy-imports",
'strenum; python_version < "3.11"',
"strenum; python_version<'3.11'",
"tqdm",
]
[project.optional-dependencies]
jax = [
optional-dependencies.jax = [
"flax",
"jax",
]
tensorflow = [
optional-dependencies.tensorflow = [
"tensorflow",
]
torch = [
optional-dependencies.torch = [
"accelerate",
"torch",
"torcheval",
"torchmetrics",
]
[project.urls]
documentation = "https://danling.org"
homepage = "https://danling.org"
repository = "https://github.com/ZhiyuanChen/DanLing"
urls.documentation = "https://danling.org"
urls.homepage = "https://danling.org"
urls.repository = "https://github.com/ZhiyuanChen/DanLing"

[tool.setuptools]
packages = ["danling"]
packages = [ "danling" ]

[tool.setuptools_scm]
write_to = "danling/_version.py"
Expand Down Expand Up @@ -103,18 +101,18 @@ disable = """
[tool.pylint.reports]
output-format = "colorized"

[tool.pytest.ini_options]
addopts = "--doctest-modules --cov"

[tool.pytest]
norecursedirs = "demo/*"

[tool.pytest.ini_options]
addopts = "--doctest-modules --cov"

[tool.coverage.run]
branch = true
include = ["danling/**"]
include = [ "danling/**" ]

[tool.coverage.paths]
source = ["icrawler"]
source = [ "icrawler" ]

[tool.coverage.xml]
output = "coverage.xml"
Expand Down

0 comments on commit a512fb4

Please sign in to comment.