瀏覽代碼

Introduce pyproject.toml
- Tweaked to not break the existing codebase... too much

Jonathan Senecal 3 年之前
父節點
當前提交
d078befd33
共有 1 個文件被更改,包括 13 次插入0 次删除
  1. 13 0
      pyproject.toml

+ 13 - 0
pyproject.toml

@@ -0,0 +1,13 @@
+# See PEP 518 for the spec of this file
+# https://www.python.org/dev/peps/pep-0518/
+
+[tool.black]
+line-length = 120
+target_version = ['py38', 'py39', 'py310']
+skip-string-normalization = true
+
+[tool.isort]
+profile = "black"
+
+[tool.pylint]
+max-line-length = 120