Skip to content

Commit

Permalink
Merge branch 'main' into dpe-3451-expose
Browse files Browse the repository at this point in the history
  • Loading branch information
dragomirp committed Feb 6, 2024
2 parents 8b945e4 + c608b55 commit 19297a1
Show file tree
Hide file tree
Showing 11 changed files with 315 additions and 282 deletions.
29 changes: 15 additions & 14 deletions poetry.lock

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

13 changes: 8 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ coverage = {extras = ["toml"], version = "^7.4.1"}
pytest = "^8.0.0"
pytest-asyncio = "*"
jinja2 = "^3.1.3"
parameterized = "^0.9.0"

[tool.poetry.group.integration]
optional = true
Expand Down Expand Up @@ -101,10 +102,12 @@ target-version = ["py38"]
[tool.ruff]
# preview and explicit preview are enabled for CPY001
preview = true
explicit-preview-rules = true
target-version = "py38"
src = ["src", "."]
line-length = 99

[tool.ruff.lint]
explicit-preview-rules = true
select = ["A", "E", "W", "F", "C", "N", "D", "I001", "CPY001"]
extend-ignore = [
"D203",
Expand All @@ -123,16 +126,16 @@ extend-ignore = [
# Ignore D107 Missing docstring in __init__
ignore = ["E501", "D107"]

[tool.ruff.per-file-ignores]
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["D100", "D101", "D102", "D103", "D104"]

[tool.ruff.flake8-copyright]
[tool.ruff.lint.flake8-copyright]
# Check for properly formatted copyright header in each file
author = "Canonical Ltd."
notice-rgx = "Copyright\\s\\d{4}([-,]\\d{4})*\\s+"

[tool.ruff.mccabe]
[tool.ruff.lint.mccabe]
max-complexity = 10

[tool.ruff.pydocstyle]
[tool.ruff.lint.pydocstyle]
convention = "google"
Loading

0 comments on commit 19297a1

Please sign in to comment.