jinnovation commited on
Commit
fc18ad8
·
verified ·
1 Parent(s): 96aff97

set up hatch

Browse files
.gitignore ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ /dist/
2
+ /.python-version
pyproject.toml ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [build-system]
2
+ requires = ["hatchling"]
3
+ build-backend = "hatchling.build"
4
+
5
+ [project]
6
+ name = "poc-dataset-endpoint"
7
+ version = "0.0.1"
8
+ description = ''
9
+ readme = "README.md"
10
+ requires-python = ">=3.11"
11
+ license = "MIT"
12
+ keywords = []
13
+ authors = [
14
+ { name = "Jonathan Jin", email = "[email protected]" },
15
+ ]
16
+ classifiers = [
17
+ "Development Status :: 4 - Beta",
18
+ "Programming Language :: Python",
19
+ "Programming Language :: Python :: 3.11",
20
+ "Programming Language :: Python :: Implementation :: CPython",
21
+ "Programming Language :: Python :: Implementation :: PyPy",
22
+ ]
23
+ dependencies = [
24
+ "datasets",
25
+ "huggingface-hub",
26
+ "requests",
27
+ "fastapi",
28
+ ]
29
+
30
+ [tool.hatch.envs.types]
31
+ extra-dependencies = [
32
+ "mypy>=1.0.0",
33
+ ]
34
+ [tool.hatch.envs.types.scripts]
35
+ check = "mypy --install-types --non-interactive {args:src/poc_dataset_endpoint tests}"
36
+
37
+ [tool.coverage.run]
38
+ source_pkgs = ["poc_dataset_endpoint", "tests"]
39
+ branch = true
40
+ parallel = true
41
+ omit = [
42
+ "src/poc_dataset_endpoint/__about__.py",
43
+ ]
44
+
45
+ [tool.coverage.paths]
46
+ poc_dataset_endpoint = ["src/poc_dataset_endpoint", "*/poc-dataset-endpoint/src/poc_dataset_endpoint"]
47
+ tests = ["tests", "*/poc-dataset-endpoint/tests"]
48
+
49
+ [tool.coverage.report]
50
+ exclude_lines = [
51
+ "no cov",
52
+ "if __name__ == .__main__.:",
53
+ "if TYPE_CHECKING:",
54
+ ]
src/poc_dataset_endpoint/__init__.py ADDED
File without changes