From 3a75ac2a46d1eed80f2418b2a096e4a76738a185 Mon Sep 17 00:00:00 2001 From: Gerard Vermeulen Date: Sat, 30 Dec 2023 13:48:47 +0100 Subject: [PATCH] Tweak my Python setup --- README.org | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README.org b/README.org index 455beaa..e0ad8c4 100644 --- a/README.org +++ b/README.org @@ -5819,12 +5819,17 @@ Complete the result with \"system\"." #+caption: Kickoff =pyproject.toml= proposal. #+name: lst:pyproject-toml-kickoff #+begin_src toml -n :tangle pyproject.toml -# Use for instance "hatch new" to create or initialize a project. -# See: https://pypi.org/project/hatch +# See: +# https://docs.astral.sh/ruff/configuration/ +# https://pycqa.github.io/isort/docs/configuration/black_compatibility.html +# https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html [tool.black] line-length = 88 +[tool.isort] +profile = "black" + [tool.ruff] line-length = 88 select = [ @@ -5840,6 +5845,7 @@ select = [ ] ignore = [ "B905", # `zip()` without an explicit `strict=` parameter + "D202", # no blank lines allowed after function docstring ] [tool.ruff.mccabe]