Remove legacy-resolver (#3197)

This commit is contained in:
Joakim Sørensen
2023-07-18 16:38:29 +02:00
committed by GitHub
parent 122b379929
commit e6b5c32eab
7 changed files with 1 additions and 48 deletions

View File

@ -1,15 +0,0 @@
{
"problemMatcher": [
{
"owner": "bellybutton",
"pattern": [
{
"regexp": "^(.+)\\:(\\d+)\\s+(.*)$",
"file": 1,
"line": 2,
"message": 3
}
]
}
]
}

View File

@ -45,32 +45,6 @@ jobs:
- name: 🏃 Run the check (${{ matrix.check }})
run: pre-commit run --hook-stage manual ${{ matrix.check }} --all-files --config .github/pre-commit-config.yaml
lint-custom:
runs-on: ubuntu-latest
name: With bellybutton
steps:
- name: 📥 Checkout the repository
uses: actions/checkout@v3.5.3
- name: 🛠️ Set up Python
uses: actions/setup-python@v4.6.1
id: python
with:
python-version: "3.x"
cache: 'pip'
cache-dependency-path: |
requirements_base.txt
requirements_lint.txt
- name: 📦 Install requirements
run: scripts/install/pip_packages --requirement requirements_lint.txt
- name: ✅ Add problem matcher
run: echo "::add-matcher::.github/matchers/bellybutton.json"
- name: 🏃 Run validation
run: bellybutton lint
lint-json:
runs-on: ubuntu-latest
name: With JQ

View File

@ -1,2 +0,0 @@
# aiohttp 3.8.3 is required for 3.11 but HA pin that to 3.8.1
aiohttp>=3.8.3,<4.0

View File

@ -1,4 +1,3 @@
-r requirements_base.txt
bellybutton==0.3.1
pre-commit==3.3.3
vulture==2.7

View File

@ -6,7 +6,6 @@ python3 -m pip \
install \
--upgrade \
--disable-pip-version-check \
--use-deprecated=legacy-resolver \
--constraint constraints.txt \
"${@}"

View File

@ -7,6 +7,4 @@ cd "$(dirname "$0")/.."
pre-commit install-hooks --config .github/pre-commit-config.yaml;
pre-commit run --hook-stage manual --all-files --config .github/pre-commit-config.yaml;
bellybutton lint
vulture . --min-confidence 75 --ignore-names policy

View File

@ -4,7 +4,7 @@ set -e
cd "$(dirname "$0")/.."
scripts/install/pip_packages "pip>=21.0,<23.1"
scripts/install/pip_packages "pip<23.2,>=21.3.1"
scripts/install/pip_packages setuptools wheel
scripts/install/pip_packages --requirement requirements_lint.txt --requirement requirements_test.txt
scripts/install/frontend