mirror of
https://github.com/certbot/certbot.git
synced 2026-07-30 18:04:31 +02:00
use pep585 types everywhere and add a test (#10414)
this is the final part of https://github.com/certbot/certbot/issues/10195. this fixes https://github.com/certbot/certbot/issues/10195 the changes in the first commit were done automatically with the command: ``` ruff check --fix --extend-select UP006 --unsafe-fixes ``` the second commit configures ruff to check for this to avoid regressions thanks for bearing with me thru these somewhat large automatically generated PRs ohemorange 🙏
This commit is contained in:
@@ -3,6 +3,9 @@ line-length = 100
|
||||
extend-exclude = ['tools', 'letstest']
|
||||
|
||||
[lint]
|
||||
# Check for PEP 585 style annotations to prevent regressions in
|
||||
# https://github.com/certbot/certbot/issues/10195
|
||||
extend-select = ["UP006"]
|
||||
# Skip bare `except` rules (`E722`).
|
||||
# Skip ambiguous variable name (`E741`).
|
||||
ignore = ["E722", "E741",]
|
||||
|
||||
Reference in New Issue
Block a user