Fix typos & add pre-commit configuration (#1487)

Co-authored-by: Zanie Blue <contact@zanie.dev>
This commit is contained in:
Aarni Koskela 2024-02-17 19:16:50 +02:00 committed by GitHub
parent e4389e537d
commit bc14ed1613
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 64 additions and 13 deletions

View file

@ -686,7 +686,7 @@ impl<'a, Provider: ResolverProvider> Resolver<'a, Provider> {
let dist = match candidate.dist() {
CandidateDist::Compatible(dist) => dist,
CandidateDist::ExcludeNewer => {
// If the version is incomatible because of `exclude_newer`, pretend the versions do not exist
// If the version is incompatible because of `exclude_newer`, pretend the versions do not exist
return Ok(None);
}
CandidateDist::Incompatible(incompatibility) => {