File tree Expand file tree Collapse file tree 2 files changed +4
-13
lines changed Expand file tree Collapse file tree 2 files changed +4
-13
lines changed Original file line number Diff line number Diff line change 7474 python -m venv .venv
7575 . .venv/bin/activate
7676 python -m pip install --upgrade pip
77- pip install poetry==1.8.5
77+ pip install poetry
7878 poetry config virtualenvs.create false
7979 (cd ./sdk-repo-updated && make install-dev)
8080 scripts/sdk-create-pr.sh "generator-bot-${{ github.run_id }}" "Generated from GitHub run [${{ github.run_id }}](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})" "[email protected] :stackitcloud/stackit-sdk-python.git" "python"
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ pydantic = ">=2.9.2"
2727python-dateutil = ">=2.9.0.post0"
2828
2929[tool.poetry.group.dev.dependencies]
30- black = "< 25 .0 .0" # Upgrading to a newer version requires bigger changes in the python generator. The formatting style in black has changed.
30+ black = ">=24.8 .0"
3131pytest = ">=8.3.3"
3232flake8 = [
3333 { version= " >=5.0.3" , python= " <3.12" } ,
@@ -95,14 +95,5 @@ inline-quotes = '"'
9595docstring-quotes = '"""'
9696multiline-quotes = '"""'
9797ban-relative-imports = true
98- per-file-ignores = """
99- # asserts are fine in tests, tests shouldn't be build optimized
100- ./tests/*: S101,
101- # F841: some variables get generated but may not be used, depending on the api-spec
102- # E501: long descriptions/string values might lead to lines that are too long
103- ./src/stackit/*/models/*: F841,E501
104- # F841: some variables get generated but may not be used, depending on the api-spec
105- # E501: long descriptions/string values might lead to lines that are too long
106- # B028: stacklevel for deprecation warning is irrelevant
107- ./src/stackit/*/api/default_api.py: F841,B028,E501
108- """
98+ # Exclude generated code
99+ extend-exclude = [ "src/stackit/*/models/*", "src/stackit/*/api/*", "src/stackit/*/*.py" ]
You can’t perform that action at this time.
0 commit comments