Compare commits
No commits in common. "c4fb34629a4bd03b8081be254fb64fc6a60747e6" and "ee31311db76b5e638d4c28ba6f61897002e5979c" have entirely different histories.
c4fb34629a
...
ee31311db7
4 changed files with 24 additions and 23 deletions
10
.isort.cfg
Normal file
10
.isort.cfg
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
[settings]
|
||||||
|
include_trailing_comma = true
|
||||||
|
line_length = 88
|
||||||
|
multi_line_output = 3
|
||||||
|
skip = env/, venv/
|
||||||
|
default_section = THIRDPARTY
|
||||||
|
known_first_party = transip_client
|
||||||
|
sections = FUTURE,STDLIB,THIRDPARTY,FIRSTPARTY,LOCALFOLDER
|
||||||
|
lines_between_types=1
|
||||||
|
lines_after_imports=2
|
||||||
13
.woodpecker/build.yaml
Normal file
13
.woodpecker/build.yaml
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
when:
|
||||||
|
- event: push
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: development build
|
||||||
|
image: ghcr.io/astral-sh/uv:python3.11-bookworm
|
||||||
|
commands:
|
||||||
|
- uv run -- transip-listen --help
|
||||||
|
|
||||||
|
- name: production build
|
||||||
|
image: ghcr.io/astral-sh/uv:python3.11-bookworm
|
||||||
|
commands:
|
||||||
|
- uv run -- transip-listen --help
|
||||||
|
|
@ -8,8 +8,3 @@ steps:
|
||||||
- uv sync --extra ci
|
- uv sync --extra ci
|
||||||
- uv run -- coverage run --module unittest
|
- uv run -- coverage run --module unittest
|
||||||
- uv run -- coverage report
|
- uv run -- coverage report
|
||||||
|
|
||||||
- name: code formatting
|
|
||||||
image: ghcr.io/astral-sh/uv:python3.11-bookworm
|
|
||||||
commands:
|
|
||||||
- uv run -- ruff format --diff
|
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@ dependencies = [
|
||||||
|
|
||||||
[project.optional-dependencies]
|
[project.optional-dependencies]
|
||||||
development = [
|
development = [
|
||||||
'ruff>=0.8.6',
|
"ruff>=0.8.6",
|
||||||
]
|
]
|
||||||
|
|
||||||
ci = ['coverage>=5.3.1']
|
ci = ['coverage>=5.3.1']
|
||||||
|
|
@ -29,20 +29,3 @@ transip-listen = 'transip_client.cli:run'
|
||||||
[build-system]
|
[build-system]
|
||||||
requires = ['setuptools']
|
requires = ['setuptools']
|
||||||
build-backend = 'setuptools.build_meta'
|
build-backend = 'setuptools.build_meta'
|
||||||
|
|
||||||
[tool.uv]
|
|
||||||
environments = ["sys_platform == 'linux'"]
|
|
||||||
|
|
||||||
[tool.ruff.lint.isort]
|
|
||||||
lines-between-types=1
|
|
||||||
lines-after-imports=2
|
|
||||||
|
|
||||||
default-section = 'third-party'
|
|
||||||
known-first-party = ['transip_client']
|
|
||||||
section-order = [
|
|
||||||
'future',
|
|
||||||
'standard-library',
|
|
||||||
'third-party',
|
|
||||||
'first-party',
|
|
||||||
'local-folder',
|
|
||||||
]
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue