summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhineng Li <im@zhineng.li>2026-05-27 09:43:15 +0800
committerZhineng Li <im@zhineng.li>2026-05-27 11:05:59 +0800
commit7c3be161bb9a82a102963cd9225e3803668cf193 (patch)
treeb9c0bdf8b60dc879af156162ac0440c60bf41f0d
parent8e143451d8dea5afcbf0fb732a1c9438f7e59161 (diff)
downloadcertbot-dns-alibabacloud-7c3be161bb9a82a102963cd9225e3803668cf193.tar.gz
certbot-dns-alibabacloud-7c3be161bb9a82a102963cd9225e3803668cf193.zip
add lint tools
-rw-r--r--pyproject.toml9
1 files changed, 9 insertions, 0 deletions
diff --git a/pyproject.toml b/pyproject.toml
index e6645c8..fbe6946 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -41,6 +41,8 @@ dependencies = [
[project.optional-dependencies]
test = [
"pytest",
+ "mypy",
+ "ruff",
]
[project.entry-points."certbot.plugins"]
@@ -51,3 +53,10 @@ Homepage = "https://git.zhineng.li/certbot_dns_alibabacloud"
[tool.setuptools.packages.find]
where = ["src"]
+
+[tool.ruff]
+line-length = 100
+
+[tool.mypy]
+ignore_missing_imports = true
+strict_equality = true