Skip to content

Commit

Permalink
Exclude click 8.1.4 to solve mypy issues (#15201)
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorentClarret authored Jul 10, 2023
1 parent 111c3c1 commit 411e4e4
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
4 changes: 4 additions & 0 deletions datadog_checks_dev/hatch.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ mypy-args = [
"datadog_checks/dev/tooling/commands/release/trello/testable.py",
"datadog_checks/dev/tooling/commands/release/trello/status.py",
]
# TODO remove once https://github.com/pallets/click/issues/2558 is solved
mypy-deps = [
"click~=8.1,!=8.1.4",
]

[envs.default]
e2e-env = false
Expand Down
3 changes: 2 additions & 1 deletion datadog_checks_dev/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ cli = [
"atomicwrites",
"beautifulsoup4>=4.9.3",
"build>=0.7.0",
"click~=8.1",
# TODO remove when https://github.com/pallets/click/issues/2558 is solved and unpin the version in the hatch files for ddev and datadog_checks_dev
"click~=8.1,!=8.1.4",
"codespell",
"colorama",
"datamodel-code-generator~=0.20.0",
Expand Down
4 changes: 4 additions & 0 deletions ddev/hatch.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ check-types = true
mypy-args = [
"src/ddev",
]
# TODO remove once https://github.com/pallets/click/issues/2558 is solved
mypy-deps = [
"click~=8.1,!=8.1.4",
]

[envs.default]
python = "3.9"
Expand Down

0 comments on commit 411e4e4

Please sign in to comment.