Compare commits

..

No commits in common. "a5d3286b3950ccb28ae5e04036eb7cf734fc4049" and "1d2a8d8ec9a8d69e9c041711e5ccef4371bedbbd" have entirely different histories.

View File

@ -4612,8 +4612,14 @@ Complete the result with \"system\"."
#+caption: Kickoff =pyproject.toml= proposal. #+caption: Kickoff =pyproject.toml= proposal.
#+name: lst:pyproject-toml-kickoff #+name: lst:pyproject-toml-kickoff
#+begin_src toml :tangle pyproject.toml #+begin_src toml :tangle pyproject.toml
# Use for instance "hatch new" to create or initialize a project. # [project]
# See: https://pypi.org/project/hatch # name = "catchy-name"
# version = "0.0.1"
# description = "Catchy Acronym Description"
# [build-system]
# requires = [ "setuptools>=61.0" ]
# build-backend = "setuptools.build_meta"
[tool.black] [tool.black]
line-length = 88 line-length = 88
@ -4624,26 +4630,21 @@ select = [
"ARG", # flake8-unused-arguments "ARG", # flake8-unused-arguments
"B", # flake8-bugbear "B", # flake8-bugbear
"C", # mccabe "C", # mccabe
"C4", # flake8-comprehensions
"E", # pycodestyle "E", # pycodestyle
"D", # pydocstyle "D", # pydocstyle
"F", # pyflakes "F", # pyflakes
"UP", # pyupgrade # "W", # ruff emits no pycodestyle warnings yet
"W", # pycodestyle
] ]
ignore = [ ignore = [
"B905", # `zip()` without an explicit `strict=` parameter "D107", # ignore: missing docstring in __init__
# https://www.pydocstyle.org/en/stable/error_codes.html#default-conventions "D203", # ignore: single blank line required before class docstring
# pydocstyle numpy convention: "D212", # ignore: multi-line docstring summary should start at the first line
# "D107", # missing docstring in __init__ "D213", # ignore: multi-line docstring summary should start at the second line
# "D203", # single blank line required before class docstring "D402", # ignore: first line should not be the function signature
# "D212", # multi-line docstring summary should start at the first line "D413", # ignore: missing blank line after last section
# "D213", # multi-line docstring summary should start at the second line "D415", # ignore: 1st line should end with a ".", "?", or "?"
# "D402", # first line should not be the function signature "D416", # ignore: section name should end with a ":"
# "D413", # missing blank line after last section "D417", # ignore: missing argument descriptions in the docstring
# "D415", # 1st line should end with a ".", "?", or "?"
# "D416", # section name should end with a ":"
# "D417", # missing argument descriptions in the docstring
] ]
[tool.ruff.mccabe] [tool.ruff.mccabe]
@ -5016,7 +5017,7 @@ contrary to for instance [[https://github.com/Fanael/rainbow-delimiters#readme][
'(sp-override-key-bindings '(("C-(" . sp-backward-barf-sexp) '(sp-override-key-bindings '(("C-(" . sp-backward-barf-sexp)
("C-)" . sp-forward-slurp-sexp)))) ("C-)" . sp-forward-slurp-sexp))))
(dolist (hook '(conf-toml-mode-hook prog-mode-hook text-mode-hook)) (dolist (hook '(prog-mode-hook text-mode-hook))
(add-hook hook #'smartparens-mode)) (add-hook hook #'smartparens-mode))
(dolist (hook '(emacs-lisp-mode-hook (dolist (hook '(emacs-lisp-mode-hook