Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
10 changes: 10 additions & 0 deletions .fern/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"cliVersion": "4.48.1",
"generatorName": "fernapi/fern-python-sdk",
"generatorVersion": "4.64.1",
"generatorConfig": {
"client_class_name": "Polytomic"
},
"originGitCommit": "9d7a5630e2c6a39b7e831a03dd6b514b32f29b4c",
"sdkVersion": "1.16.2"
}
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
dist/
.mypy_cache/
.ruff_cache/
__pycache__/
dist/
poetry.toml
.ruff_cache/
239 changes: 140 additions & 99 deletions poetry.lock

Large diffs are not rendered by default.

37 changes: 31 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
[project]
name = "polytomic"
dynamic = ["version"]

[tool.poetry]
name = "polytomic"
version = "1.16.1"
version = "0.0.0"
description = ""
readme = "README.md"
authors = []
Expand All @@ -18,6 +19,9 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: 3.15",
"Operating System :: OS Independent",
"Operating System :: POSIX",
"Operating System :: MacOS",
Expand All @@ -31,23 +35,24 @@ packages = [
{ include = "polytomic", from = "src"}
]

[project.urls]
[tool.poetry.urls]
Repository = 'https://github.com/polytomic/polytomic-python'

[tool.poetry.dependencies]
python = "^3.8"
httpx = ">=0.21.2"
pydantic = ">= 1.9.2"
pydantic-core = "^2.18.2"
pydantic-core = ">=2.18.2"
typing_extensions = ">= 4.0.0"

[tool.poetry.dev-dependencies]
mypy = "1.0.1"
[tool.poetry.group.dev.dependencies]
mypy = "==1.13.0"
pytest = "^7.4.0"
pytest-asyncio = "^0.23.5"
pytest-xdist = "^3.6.1"
python-dateutil = "^2.9.0"
types-python-dateutil = "^2.9.0.20240316"
ruff = "^0.5.6"
ruff = "==0.11.5"

[tool.pytest.ini_options]
testpaths = [ "tests" ]
Expand All @@ -59,6 +64,26 @@ plugins = ["pydantic.mypy"]
[tool.ruff]
line-length = 120

[tool.ruff.lint]
select = [
"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
]

[tool.ruff.lint.isort]
section-order = ["future", "standard-library", "third-party", "first-party"]

[build-system]
requires = ["poetry-core"]
Expand Down
Loading
Loading