chore: add PyLint and fix most issues (#999)
* chore: add PyLint and fix most issues * fix: minor fixes after first push * chore: remove reference to old toml lib * chore: minor options cleanup * ci: only fail with many pylint issues, annotate in GHA * refactor: address review * ci: force nox to report in CI * refactor: use map instead of if chain * refactor: simpler shell_with_arch * refactor: even simpler shell_with_arch * Restore if...elif...else blocks where guard-style is not intended Co-authored-by: Joe Rickerby <joerick@mac.com>
This commit is contained in:
co-authored by
Joe Rickerby
parent
6d120e7a6b
commit
d6dc3b7cd9
@@ -66,7 +66,7 @@ class EnvironmentAssignmentRaw:
|
||||
def __repr__(self) -> str:
|
||||
return f"{self.name}: {self.value}"
|
||||
|
||||
def evaluated_value(self, **kwargs: Any) -> str:
|
||||
def evaluated_value(self, **_: Any) -> str:
|
||||
return self.value
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user