Skip to content

Commit 0484caa

Browse files
committed
Modernize to Python 3.13, Poetry 2.3.1, fix formatting
1 parent c76d6e3 commit 0484caa

File tree

4 files changed

+4
-7
lines changed

4 files changed

+4
-7
lines changed

.github/workflows/actions.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ jobs:
66
strategy:
77
fail-fast: false
88
matrix:
9-
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
10-
poetry-version: ["1.4.0"]
9+
python-version: ["3.13"]
10+
poetry-version: ["2.3.1"]
1111
os: [ubuntu-latest, macos-latest, windows-latest]
1212
runs-on: ${{ matrix.os }}
1313
steps:
@@ -26,5 +26,4 @@ jobs:
2626
- name: Run black
2727
run: poetry run black leakix/*.py tests/*.py example/*.py --check
2828
- name: Security audit
29-
if: matrix.python-version != '3.7'
3029
run: poetry run pip-audit

example/example_client.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
from leakix.plugin import Plugin
66
from datetime import datetime, timedelta
77

8-
98
API_KEY = decouple.config("API_KEY")
109
CLIENT = Client(api_key=API_KEY)
1110

leakix/client.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
from leakix.field import *
1212
from leakix.domain import L9Subdomain
1313

14-
1514
__VERSION__ = "0.1.9"
1615

1716

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ description = "Official python client for LeakIX (https://leakix.net)"
55
authors = ["Danny Willems <danny@leakix.net>"]
66

77
[tool.poetry.dependencies]
8-
python = "^3.7"
8+
python = "^3.13"
99
requests = "*"
1010
l9format = "=1.3.1a3"
1111
fire = "^0.5.0"
1212

13-
[tool.poetry.dev-dependencies]
13+
[tool.poetry.group.dev.dependencies]
1414
python-decouple = "*"
1515
pytest = "*"
1616
black = "*"

0 commit comments

Comments
 (0)