Skip to content

Commit a603806

Browse files
authored
fix: release-please config fixes (deepgram#579)
Making pyproject.toml PEP 621 friendly to get release-please working.
1 parent 3aa9896 commit a603806

File tree

2 files changed

+18
-18
lines changed

2 files changed

+18
-18
lines changed

.fernignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ websockets-reference.md
88
.github/
99
scripts/run_examples.sh
1010
docs/
11+
pyproject.toml
1112

1213
# Examples
1314
examples/

pyproject.toml

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
[project]
22
name = "deepgram-sdk"
3+
dynamic = ["version"]
34

45
[tool.poetry]
56
name = "deepgram-sdk"
6-
version = "5.0.0-rc.5"
7+
version = "0.0.0"
78
description = ""
89
readme = "README.md"
910
authors = []
@@ -25,11 +26,9 @@ classifiers = [
2526
"Operating System :: Microsoft :: Windows",
2627
"Topic :: Software Development :: Libraries :: Python Modules",
2728
"Typing :: Typed",
28-
"License :: OSI Approved :: MIT License"
29-
]
30-
packages = [
31-
{ include = "deepgram", from = "src"}
29+
"License :: OSI Approved :: MIT License",
3230
]
31+
packages = [{ include = "deepgram", from = "src" }]
3332

3433
[project.urls]
3534
Repository = 'https://github.com/deepgram/deepgram-python-sdk'
@@ -51,7 +50,7 @@ types-python-dateutil = "^2.9.0.20240316"
5150
ruff = "==0.11.5"
5251

5352
[tool.pytest.ini_options]
54-
testpaths = [ "tests" ]
53+
testpaths = ["tests"]
5554
asyncio_mode = "auto"
5655

5756
[tool.mypy]
@@ -62,20 +61,20 @@ line-length = 120
6261

6362
[tool.ruff.lint]
6463
select = [
65-
"E", # pycodestyle errors
66-
"F", # pyflakes
67-
"I", # isort
64+
"E", # pycodestyle errors
65+
"F", # pyflakes
66+
"I", # isort
6867
]
6968
ignore = [
70-
"E402", # Module level import not at top of file
71-
"E501", # Line too long
72-
"E711", # Comparison to `None` should be `cond is not None`
73-
"E712", # Avoid equality comparisons to `True`; use `if ...:` checks
74-
"E721", # Use `is` and `is not` for type comparisons, or `isinstance()` for insinstance checks
75-
"E722", # Do not use bare `except`
76-
"E731", # Do not assign a `lambda` expression, use a `def`
77-
"F821", # Undefined name
78-
"F841" # Local variable ... is assigned to but never used
69+
"E402", # Module level import not at top of file
70+
"E501", # Line too long
71+
"E711", # Comparison to `None` should be `cond is not None`
72+
"E712", # Avoid equality comparisons to `True`; use `if ...:` checks
73+
"E721", # Use `is` and `is not` for type comparisons, or `isinstance()` for insinstance checks
74+
"E722", # Do not use bare `except`
75+
"E731", # Do not assign a `lambda` expression, use a `def`
76+
"F821", # Undefined name
77+
"F841", # Local variable ... is assigned to but never used
7978
]
8079

8180
[tool.ruff.lint.isort]

0 commit comments

Comments
 (0)