Skip to content

Commit

Permalink
Require [compat] entry for julia
Browse files Browse the repository at this point in the history
  • Loading branch information
lgoettgens committed Nov 6, 2023
1 parent 3ea2897 commit d2c640f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/deps_compat.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Aqua.test_deps_compat(package)
Test that the `Project.toml` of `package` has a `compat` entry for
each package listed under `deps`.
each package listed under `deps` and for `julia`.
# Arguments
- `packages`: a top-level `Module`, a `Base.PkgId`, or a collection of
Expand Down Expand Up @@ -86,6 +86,9 @@ function find_missing_deps_compat(
ignore::AbstractVector{Symbol} = Symbol[],
)
deps = get(prj, deps_type, Dict{String,Any}())
if deps_type == "deps"
deps["julia"] = "00000000-0000-0000-0000-000000000000"
end
compat = get(prj, "compat", Dict{String,Any}())

missing_compat = sort!(
Expand Down

0 comments on commit d2c640f

Please sign in to comment.