Skip to content

Commit

Permalink
cmk should be a namespace package.
Browse files Browse the repository at this point in the history
Change-Id: Ib4cf67a6fa51741433c5092ee4a4f30dcae39c97
  • Loading branch information
spt29 committed Oct 24, 2023
1 parent ae1d523 commit 019b3e9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
4 changes: 0 additions & 4 deletions packages/cmk-graphing/cmk/__init__.py

This file was deleted.

1 change: 1 addition & 0 deletions packages/cmk-graphing/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ py_version = 311
known_first_party = "werks"

[tool.mypy]
explicit_package_bases = true
strict = true
# Miscellaneous stuff not in --strict
disallow_any_decorated = true
Expand Down
4 changes: 2 additions & 2 deletions packages/cmk-graphing/run
Original file line number Diff line number Diff line change
Expand Up @@ -163,13 +163,13 @@ run_unit_tests() {
run_mypy() {
setup_venv
# shellcheck disable=SC2086
mypy --scripts-are-modules --show-error-codes $1
mypy $1
}

run_pylint() {
setup_venv
# shellcheck disable=SC2086
pylint --jobs="${JOBS}" $1
PYTHONPATH=. pylint --jobs="${JOBS}" $1
}

run_bandit() {
Expand Down

0 comments on commit 019b3e9

Please sign in to comment.