Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
dmulcahey committed Mar 15, 2024
1 parent 44430d9 commit 97d0ba0
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

jobs:
shared-ci:
uses: zigpy/workflows/.github/workflows/ci.yml@dm/update-ci
uses: zigpy/workflows/.github/workflows/ci.ymll@main
with:
CODE_FOLDER: zha
CACHE_VERSION: 1
Expand Down
41 changes: 41 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,46 @@ testing = [
[tool.setuptools-git-versioning]
enabled = true

[tool.mypy]
python_version = "3.12"
check_untyped_defs = true
disallow_incomplete_defs = true
disallow_untyped_calls = true
disallow_untyped_defs = true
follow_imports = "silent"
ignore_missing_imports = true
no_implicit_optional = true
strict_equality = true
warn_incomplete_stub = true
warn_redundant_casts = true
warn_return_any = true
warn_unreachable = true
warn_unused_configs = true
warn_unused_ignores = true
show_error_codes = true
show_error_context = true
error_summary = true

install_types = true
non_interactive = true

disable_error_code = [
"arg-type",
"assignment",
"attr-defined",
"call-arg",
"dict-item",
"index",
"misc",
"no-any-return",
"no-untyped-call",
"no-untyped-def",
"override",
"return-value",
"union-attr",
"var-annotated",
]

[tool.pylint.BASIC]
class-const-naming-style = "any"

Expand Down Expand Up @@ -304,6 +344,7 @@ mixin-class-rgx = ".*[Mm]ix[Ii]n"

[tool.pylint.FORMAT]
expected-line-ending-format = "LF"
max-line-length = 120

[tool.pylint.EXCEPTIONS]
overgeneral-exceptions = [
Expand Down

0 comments on commit 97d0ba0

Please sign in to comment.