Add pre-commit, fix trailing whitespace
All checks were successful
Trivy / test (push) Successful in 20s
CI / test (push) Successful in 41s
Lint / test (push) Successful in 30s

This commit is contained in:
Miguel Jacq 2025-12-18 13:49:27 +11:00
parent 8dd8c0a2be
commit 953ba11036
Signed by: mig5
GPG key ID: 59B3F0C24135C6A9
4 changed files with 33 additions and 8 deletions

View file

@ -234,11 +234,11 @@ class TestRoundtripTOML:
toml_text = """
name = "test"
ports = [8080, 8081, 8082]
[[database]]
host = "db1.example.com"
port = 5432
[[database]]
host = "db2.example.com"
port = 5433

View file

@ -141,7 +141,7 @@ class TestTemplateYamlConsistency:
[[database]]
host = "db1.example.com"
port = 5432
[[database]]
host = "db2.example.com"
port = 5433
@ -218,15 +218,15 @@ class TestTemplateYamlConsistency:
name = "myapp"
version = "1.0"
ports = [8080, 8081, 8082]
[database]
host = "localhost"
port = 5432
[[servers]]
name = "web1"
ip = "10.0.0.1"
[[servers]]
name = "web2"
ip = "10.0.0.2"
@ -485,7 +485,7 @@ class TestRegressionBugs:
[[database]]
host = "db1"
port = 5432
[[database]]
host = "db2"
port = 5433