Skip to content

Commit

Permalink
chore(renovate): reconfigure (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
Snoopy1866 authored Dec 18, 2024
1 parent 8d7215d commit af9a659
Show file tree
Hide file tree
Showing 4 changed files with 154 additions and 4 deletions.
1 change: 1 addition & 0 deletions python/submit/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ submit = "submit:main"

[dependency-groups]
dev = [
"pre-commit>=4.0.1",
"pytest>=8.3.4",
"ruff>=0.8.3",
"setuptools>=75.6.0",
Expand Down
4 changes: 2 additions & 2 deletions python/submit/tests/test_submit.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def test_copy_file(self):
with open(validate_file, "r", encoding="utf-8") as f:
validate_code = f.read()

assert tmp_code == validate_code
assert tmp_code.strip() == validate_code.strip()

def test_copy_directory(self):
test_dir = "tests/test_file"
Expand All @@ -40,7 +40,7 @@ def test_copy_directory(self):
with open(validate_file, "r", encoding="utf-8") as f:
validate_code = f.read()

assert tmp_code == validate_code
assert tmp_code.strip() == validate_code.strip()
else:
assert False

Expand Down
130 changes: 130 additions & 0 deletions python/submit/uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 21 additions & 2 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,25 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended"
"extends": ["config:recommended"],
"dependencyDashboard": true,
"dependencyDashboardTitle": "[renovate] Dependency Dashboard",
"labels": ["dependencies"],
"packageRules": [
{
"matchManagers": ["pyenv"],
"enabled": false
},
{
"matchManagers": ["pep621"],
"addLabels": ["deps-python"]
},
{
"matchManagers": ["github-actions"],
"addLabels": ["deps-ci"]
},
{
"matchDepTypes": ["devDependencies"],
"addLabels": ["deps-dev"]
}
]
}

0 comments on commit af9a659

Please sign in to comment.