Skip to content

Commit

Permalink
Install distro on macOS when running mypy
Browse files Browse the repository at this point in the history
Add the dependency only in the `check` optional dependency list
given that `distro` is not supported yet on macOS.
  • Loading branch information
enzbang committed Oct 23, 2024
1 parent 711d026 commit b73b0e6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ check = [
"types-PyYAML",
"types-requests",
"types-setuptools",
"distro; sys_platform=='darwin'", # for type checking
]

[project.scripts]
Expand Down

0 comments on commit b73b0e6

Please sign in to comment.