-
Notifications
You must be signed in to change notification settings - Fork 21
chore(deps): update black and mypy #315
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -87,7 +87,7 @@ disallow_incomplete_defs = false | |
| disallow_untyped_calls = false | ||
| show_error_context = true | ||
| strict_equality = false | ||
| python_version = 3.9 | ||
| python_version = "3.10" | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Bumping mypy's |
||
| warn_redundant_casts = true | ||
| warn_unused_configs = true | ||
| warn_unused_ignores = false | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The old commands used the documented cargo-deny form where
--configand--exclude-devare options of thechecksubcommand (note the previous advisories command placed--exclude-devafter theadvisoriespositional, confirming these are subcommand-level flags, while only--manifest-pathis global).This PR moves both
--config deny.tomland--exclude-devto before thechecksubcommand. If the installed cargo-deny still treats these ascheck-subcommand options, clap will reject them in the global position with an "unexpected argument" error and break the CI job. Sincecargo install cargo-deny --lockedpulls the latest release, please confirm the installed version accepts--config/--exclude-devbefore the subcommand; if not, keep them aftercheck(e.g.check --config deny.toml advisories --exclude-dev).