Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove outdated_versions of default audit #1939

Merged
merged 1 commit into from
Oct 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions c2cciutils/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from typing import Any, Literal, TypedDict, Union

AUDIT_DEFAULT = {"snyk": True, "outdated_versions": True}
AUDIT_DEFAULT = {"snyk": True}
""" Default value of the field path 'configuration audit' """


Expand Down Expand Up @@ -43,7 +43,6 @@ class Audit(TypedDict, total=False):
The audit configuration

default:
outdated_versions: true
snyk: true
"""

Expand Down Expand Up @@ -227,7 +226,6 @@ class Codespell(TypedDict, total=False):
# | The audit configuration
# |
# | default:
# | outdated_versions: true
# | snyk: true
"audit": "Audit",
# | Pull request checks.
Expand Down
3 changes: 1 addition & 2 deletions c2cciutils/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -504,8 +504,7 @@
"description": "The audit configuration",
"type": "object",
"default": {
"snyk": true,
"outdated_versions": true
"snyk": true
},
"properties": {
"snyk": { "$ref": "#/definitions/audit_snyk" }
Expand Down
2 changes: 1 addition & 1 deletion config.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ _C2C CI utils configuration file_

- **`print_versions`**: Refer to _[#/definitions/print_versions](#definitions/print_versions)_.
- **`codespell`**: Refer to _[#/definitions/codespell](#definitions/codespell)_.
- **`audit`** _(object)_: The audit configuration. Default: `{"snyk": true, "outdated_versions": true}`.
- **`audit`** _(object)_: The audit configuration. Default: `{"snyk": true}`.
- **`snyk`**: Refer to _[#/definitions/audit_snyk](#definitions/audit_snyk)_.
- **`pr-checks`** _(object)_: The PR check configuration. Default: `{"commits_messages": true, "commits_spell": true, "pull_request_spell": true, "pull_request_labels": true, "add_issue_link": true}`.
- **`commits_messages`**: Refer to _[#/definitions/pr_checks_commits_messages](#definitions/pr_checks_commits_messages)_.
Expand Down
Loading