Skip to content

Commit f00ca6c

Browse files
fingolfinlgoettgens
authored andcommitted
Remove test_project_toml_formatting
It stands out from all other tests in Aqua in that it does not actually deal with 'quality'. The benefit is tiny if there is one at all, at the same time it is unreasonably compicated to implement and use right.
1 parent ebafef6 commit f00ca6c

File tree

6 files changed

+4
-160
lines changed

6 files changed

+4
-160
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3131
- The docstring for `test_stale_deps` explains the situation with package extensions. ([#203](https://github.com/JuliaTesting/Aqua.jl/pull/203))
3232
- The logo of Aqua.jl has been updated. ([#128](https://github.com/JuliaTesting/Aqua.jl/pull/128))
3333

34+
### Removed
35+
36+
- `test_project_toml_formatting` has been removed.
37+
3438

3539
## [0.7.3] - 2023-09-25
3640

docs/src/index.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ using Aqua
8484
project_extras=true,
8585
stale_deps=(ignore=[:SomePackage],),
8686
deps_compat=(ignore=[:SomeOtherPackage],),
87-
project_toml_formatting=true,
8887
piracy=false,
8988
)
9089
end

src/Aqua.jl

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ include("exports.jl")
1919
include("project_extras.jl")
2020
include("stale_deps.jl")
2121
include("deps_compat.jl")
22-
include("project_toml_formatting.jl")
2322
include("piracy.jl")
2423
include("persistent_tasks.jl")
2524

@@ -34,7 +33,6 @@ Run following tests in isolated testset:
3433
* [`test_project_extras(testtarget)`](@ref test_project_extras)
3534
* [`test_stale_deps(testtarget)`](@ref test_stale_deps)
3635
* [`test_deps_compat(testtarget)`](@ref test_deps_compat)
37-
* [`test_project_toml_formatting(testtarget)`](@ref test_project_toml_formatting)
3836
* [`test_piracy(testtarget)`](@ref test_piracy)
3937
* [`test_persistent_tasks(testtarget)`](@ref test_persistent_tasks)
4038
@@ -50,7 +48,6 @@ passed to `\$x` to specify the keyword arguments for `test_\$x`.
5048
- `project_extras = true`
5149
- `stale_deps = true`
5250
- `deps_compat = true`
53-
- `project_toml_formatting = true`
5451
- `piracy = true`
5552
- `persistent_tasks = true`
5653
"""
@@ -62,7 +59,6 @@ function test_all(
6259
project_extras = true,
6360
stale_deps = true,
6461
deps_compat = true,
65-
project_toml_formatting = true,
6662
piracy = true,
6763
persistent_tasks = true,
6864
)
@@ -96,11 +92,6 @@ function test_all(
9692
test_deps_compat(testtarget; askwargs(deps_compat)...)
9793
end
9894
end
99-
@testset "Project.toml formatting" begin
100-
if project_toml_formatting !== false
101-
test_project_toml_formatting(testtarget; askwargs(project_toml_formatting)...)
102-
end
103-
end
10495
@testset "Piracy" begin
10596
if piracy !== false
10697
test_piracy(testtarget; askwargs(piracy)...)

src/project_toml_formatting.jl

Lines changed: 0 additions & 68 deletions
This file was deleted.

test/test_project_toml_formatting.jl

Lines changed: 0 additions & 81 deletions
This file was deleted.

test/test_smoke.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ Aqua.test_all(
1414
project_extras = false,
1515
stale_deps = false,
1616
deps_compat = false,
17-
project_toml_formatting = false,
1817
piracy = false,
1918
persistent_tasks = false,
2019
)

0 commit comments

Comments
 (0)