diff --git a/programs/emacs/default.nix b/programs/emacs/default.nix index ad430ce..840d6fd 100644 --- a/programs/emacs/default.nix +++ b/programs/emacs/default.nix @@ -181,7 +181,7 @@ ## Formatters alejandra shfmt - black + ruff isort stylua nodePackages.prettier diff --git a/programs/python/default.nix b/programs/python/default.nix index b22fc50..7928e7b 100644 --- a/programs/python/default.nix +++ b/programs/python/default.nix @@ -9,7 +9,6 @@ (ps: with ps; [ python-lsp-server - flake8 mypy numpy scipy diff --git a/programs/python/ruff.toml b/programs/python/ruff.toml index fa952f6..85b2505 100644 --- a/programs/python/ruff.toml +++ b/programs/python/ruff.toml @@ -33,5 +33,5 @@ ignore = [ ] unfixable = ["W", "B", "PD", "NPY", "RUF", "E101", "E501", "C901", "I001", "I002"] -# [format] -# docstring-code-format = true +[format] +docstring-code-format = true