diff --git a/.devcontainer.json b/.devcontainer.json index b2f955d2..c2c30044 100644 --- a/.devcontainer.json +++ b/.devcontainer.json @@ -28,7 +28,9 @@ "files.trimTrailingWhitespace": true, "python.analysis.autoImportCompletions": true, "python.analysis.typeCheckingMode": "basic", + "python.defaultInterpreterPath": "/workspaces/client.py/.venv/bin/python", "python.languageServer": "Pylance", + "python.pythonPath": "/workspaces/client.py/.venv/bin/python", "python.testing.pytestEnabled": true, "python.testing.unittestEnabled": false, "terminal.integrated.defaultProfile.linux": "zsh", diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index 6de98910..00000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,17 +0,0 @@ -version: 2 -updates: - # Maintain dependencies for GitHub Actions - - package-ecosystem: "github-actions" - directory: "/" - labels: - - "pr: dependency-update" - schedule: - interval: "daily" - - # Maintain dependencies for pip - - package-ecosystem: "pip" - directory: "/" - labels: - - "pr: dependency-update" - schedule: - interval: "daily" diff --git a/.github/renovate.json b/.github/renovate.json new file mode 100644 index 00000000..84485db0 --- /dev/null +++ b/.github/renovate.json @@ -0,0 +1,27 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "commitMessagePrefix": "⬆️", + "configMigration": true, + "dependencyDashboard": true, + "labels": ["dependencies", "no-stale"], + "lockFileMaintenance": { + "enabled": true + }, + "packageRules": [ + { + "addLabels": ["python"], + "matchManagers": ["pep621"] + }, + { + "matchDepTypes": ["dev"], + "matchManagers": ["pep621"], + "rangeStrategy": "pin" + }, + { + "addLabels": ["github_actions"], + "matchManagers": ["github-actions"], + "rangeStrategy": "pin" + } + ], + "rebaseWhen": "behind-base-branch" +} diff --git a/requirements-dev.txt b/requirements-dev.txt deleted file mode 100644 index 3062f9bc..00000000 --- a/requirements-dev.txt +++ /dev/null @@ -1,2 +0,0 @@ --r requirements.txt --r requirements-test.txt diff --git a/requirements-test.txt b/requirements-test.txt deleted file mode 100644 index 482e9cde..00000000 --- a/requirements-test.txt +++ /dev/null @@ -1,13 +0,0 @@ -mypy==1.11.2 -pre-commit==3.8.0 -pycountry==24.6.1 -pylint==3.2.7 -pytest==8.3.2 -pytest-asyncio==0.24.0 -pytest-cov==5.0.0 -pytest-docker-fixtures==1.3.19 -pytest-timeout==2.3.1 -testfixtures==8.3.0 -types-cachetools -types-mock -types-Pillow diff --git a/requirements.txt b/requirements.txt deleted file mode 100644 index 26177a54..00000000 --- a/requirements.txt +++ /dev/null @@ -1,7 +0,0 @@ -aiohttp~=3.10 -aiomqtt>=2.0.0,<3.0 -cachetools>=5.0.0,<6.0 -defusedxml -numpy>=1.23.2,<3.0 -Pillow>=10.0.1,<11.0 -svg.py>=1.4.2