diff --git a/.fernignore b/.fernignore index 2fae792e..38e1ac36 100644 --- a/.fernignore +++ b/.fernignore @@ -8,6 +8,7 @@ websockets-reference.md .github/ scripts/run_examples.sh docs/ +pyproject.toml # Examples examples/ diff --git a/pyproject.toml b/pyproject.toml index 88122539..c71afacd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,9 +1,10 @@ [project] name = "deepgram-sdk" +dynamic = ["version"] [tool.poetry] name = "deepgram-sdk" -version = "5.0.0-rc.5" +version = "0.0.0" description = "" readme = "README.md" authors = [] @@ -25,11 +26,9 @@ classifiers = [ "Operating System :: Microsoft :: Windows", "Topic :: Software Development :: Libraries :: Python Modules", "Typing :: Typed", - "License :: OSI Approved :: MIT License" -] -packages = [ - { include = "deepgram", from = "src"} + "License :: OSI Approved :: MIT License", ] +packages = [{ include = "deepgram", from = "src" }] [project.urls] Repository = 'https://github.com/deepgram/deepgram-python-sdk' @@ -51,7 +50,7 @@ types-python-dateutil = "^2.9.0.20240316" ruff = "==0.11.5" [tool.pytest.ini_options] -testpaths = [ "tests" ] +testpaths = ["tests"] asyncio_mode = "auto" [tool.mypy] @@ -62,20 +61,20 @@ line-length = 120 [tool.ruff.lint] select = [ - "E", # pycodestyle errors - "F", # pyflakes - "I", # isort + "E", # pycodestyle errors + "F", # pyflakes + "I", # isort ] ignore = [ - "E402", # Module level import not at top of file - "E501", # Line too long - "E711", # Comparison to `None` should be `cond is not None` - "E712", # Avoid equality comparisons to `True`; use `if ...:` checks - "E721", # Use `is` and `is not` for type comparisons, or `isinstance()` for insinstance checks - "E722", # Do not use bare `except` - "E731", # Do not assign a `lambda` expression, use a `def` - "F821", # Undefined name - "F841" # Local variable ... is assigned to but never used + "E402", # Module level import not at top of file + "E501", # Line too long + "E711", # Comparison to `None` should be `cond is not None` + "E712", # Avoid equality comparisons to `True`; use `if ...:` checks + "E721", # Use `is` and `is not` for type comparisons, or `isinstance()` for insinstance checks + "E722", # Do not use bare `except` + "E731", # Do not assign a `lambda` expression, use a `def` + "F821", # Undefined name + "F841", # Local variable ... is assigned to but never used ] [tool.ruff.lint.isort]