Remove deprecated update-check setting (#4313)

This commit is contained in:
Charlie Marsh 2023-05-09 13:10:02 -04:00 committed by GitHub
parent 48e1852893
commit a435c0df4b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 11 additions and 44 deletions

View file

@ -150,7 +150,6 @@ fn check(args: CheckArgs, log_level: LogLevel) -> Result<ExitStatus> {
fix_only,
format,
show_fixes,
update_check,
..
} = pyproject_config.settings.cli;
@ -311,13 +310,6 @@ fn check(args: CheckArgs, log_level: LogLevel) -> Result<ExitStatus> {
}
}
if update_check {
warn_user_once!(
"update-check has been removed; setting it will cause an error in a future \
version."
);
}
if !cli.exit_zero {
if cli.diff {
// If we're printing a diff, we always want to exit non-zero if there are