Skip to content

Commit

Permalink
Move pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
MrNaif2018 committed Dec 24, 2024
1 parent 1e1a1a3 commit 386ade9
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 44 deletions.
43 changes: 43 additions & 0 deletions generator/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
[project]
name = "bitcart-compose-generator"
version = "1.0.0"
description = "Generate docker compose files based on env variables"
requires-python = ">=3.11"
dependencies = ["oyaml"]

[dependency-groups]
dev = ["pre-commit", "pytest", "pytest-cov", "ruff"]

[tool.ruff]
target-version = "py311"
line-length = 127

[tool.ruff.lint]
select = [
"F",
"E",
"I",
"UP",
"YTT",
"B",
"T10",
"C",
"SIM",
"RUF100",
"RET",
"A",
"S",
"ASYNC",
]
ignore = ["RET502", "RET503", "S104", "S507", "ASYNC110"]
mccabe = { max-complexity = 12 }

[tool.ruff.lint.per-file-ignores]
"tests/*" = ["S"]

[tool.pytest.ini_options]
addopts = ["--cov=.", "--cov-report", "term-missing"]
filterwarnings = [
"error::DeprecationWarning",
"error::PendingDeprecationWarning",
]
45 changes: 2 additions & 43 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,43 +1,2 @@
[project]
name = "bitcart-compose-generator"
version = "1.0.0"
description = "Generate docker compose files based on env variables"
requires-python = ">=3.11"
dependencies = ["oyaml"]

[dependency-groups]
dev = ["pre-commit", "pytest", "pytest-cov", "ruff"]

[tool.ruff]
target-version = "py311"
line-length = 127

[tool.ruff.lint]
select = [
"F",
"E",
"I",
"UP",
"YTT",
"B",
"T10",
"C",
"SIM",
"RUF100",
"RET",
"A",
"S",
"ASYNC",
]
ignore = ["RET502", "RET503", "S104", "S507", "ASYNC110"]
mccabe = { max-complexity = 12 }

[tool.ruff.lint.per-file-ignores]
"generator/tests/*" = ["S"]

[tool.pytest.ini_options]
addopts = ["--cov=.", "--cov-report", "term-missing"]
filterwarnings = [
"error::DeprecationWarning",
"error::PendingDeprecationWarning",
]
[tool.uv.workspace]
members = ["generator"]
7 changes: 6 additions & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 386ade9

Please sign in to comment.