Skip to content

Every run of pre-commit adds a newline after [tool.mypy] #69

@MindTooth

Description

@MindTooth

Hi.

I think that #67 added a bug where it keep adds a newline.

After several runs, I get the following:

[[tool.mypy.overrides]]
module = "vendor.*"
ignore_errors = true

















[tool.ruff]
exclude = [
  ".git",

Message after a run:

$ pyproject-fmt pyproject.toml
--- pyproject.toml

+++ pyproject.toml

@@ -174,6 +174,7 @@

 
 
 
+
 [tool.ruff]
 exclude = [
   ".git",

I'll gladly provide more if you need it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions