Skip to content

Commit f2b7229

Browse files
committed
Scaffolding for empty project
0 parents  commit f2b7229

File tree

4 files changed

+73
-0
lines changed

4 files changed

+73
-0
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
dist

README.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Finch Python API Library
2+
3+
Placeholder package for the Finch SDK.
4+
5+
## Documentation
6+
7+
The API documentation can be found [here](https://developer.tryfinch.com/).

pyproject.toml

+64
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
[tool.poetry]
2+
name = "finch.py"
3+
version = "0.0.1"
4+
description = "Client library for the Finch API"
5+
readme = "README.md"
6+
authors = ["Finch <[email protected]>"]
7+
license = "Apache-2.0"
8+
repository = "https://github.com/Finch-API/finch-python"
9+
packages = [
10+
{ include = "finch", from = "src" }
11+
]
12+
13+
[tool.poetry.dependencies]
14+
python = "^3.7"
15+
httpx = ">= 0.23.0"
16+
pydantic = ">= 1.9.0"
17+
typing-extensions = ">= 4.1.1"
18+
anyio = ">= 3.5.0"
19+
distro = ">= 1.7.0"
20+
21+
[tool.poetry.dev-dependencies]
22+
mypy = "^0.982"
23+
black = "^22.1.0"
24+
respx = "^0.19.2"
25+
pytest = "^7.1.1"
26+
pytest-asyncio = "^0.18.3"
27+
pyright = "^1.1.277"
28+
isort = "^5.10.1"
29+
autoflake = "^1.4"
30+
31+
[build-system]
32+
requires = ["poetry-core>=1.0.0"]
33+
build-backend = "poetry.core.masonry.api"
34+
35+
[tool.black]
36+
line-length = 120
37+
target-version = ["py37"]
38+
39+
[tool.pytest.ini_options]
40+
testpaths = ["tests"]
41+
addopts = "--tb=short"
42+
xfail_strict = true
43+
log_cli = true
44+
log_level = "INFO"
45+
asyncio_mode = "auto"
46+
47+
[tool.pyright]
48+
# this enables practically every flag given by pyright.
49+
# there are a couple of flags that are still disabled by
50+
# default in strict mode as they are experimental and niche.
51+
typeCheckingMode = "strict"
52+
pythonVersion = "3.7"
53+
54+
exclude = [
55+
"_dev",
56+
".venv"
57+
]
58+
reportImportCycles = false
59+
reportPrivateUsage = false
60+
61+
[tool.isort]
62+
profile = "black"
63+
length_sort = true
64+
extra_standard_library = ["typing_extensions"]

src/finch/__init__.py

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Placeholder package for the Finch SDK

0 commit comments

Comments
 (0)