summaryrefslogtreecommitdiff
path: root/pyproject.toml
diff options
context:
space:
mode:
Diffstat (limited to 'pyproject.toml')
-rw-r--r--pyproject.toml25
1 files changed, 24 insertions, 1 deletions
diff --git a/pyproject.toml b/pyproject.toml
index e1df19cbd..75bb5aa12 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,5 +1,28 @@
[tool.black]
skip-string-normalization = true
+[tool.pylint.main]
+# generated by protoc
+ignore-patterns = ['.*_pb2\.py$']
+
[tool.pylint.typecheck]
-ignored-modules = ["vici"] \ No newline at end of file
+# not installed in the build environment, generated on install, or imported
+# via sys.path changes
+ignored-modules = [
+ "ariadne",
+ "configtree",
+ "defaults",
+ "generate_cache",
+ "graphql",
+ "makefun",
+ "multipart",
+ "op_definition",
+ "pam",
+ "pydantic",
+ "pyroute2",
+ "vici",
+ "vpp_papi",
+ "vyos.xml_ref",
+]
+# pydantic v2 API, the build environment has v1
+generated-members = ["model_.*"]