-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
54 lines (47 loc) · 1.42 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "docstring-auditor"
version = "0.1.16"
authors = [{name = "Rob Luke", email = "[email protected]"}]
description = "A tool to analyze Python functions' docstrings and provide critiques and suggestions for improvement"
readme = "README.md"
keywords = ["docstring", "auditor", "openai", "gpt"]
url = "https://github.com/agencyenterprise/docstring-auditor"
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
[tool.hatch.package]
packages = ["docstring_auditor"]
[tool.hatch.envs.default.scripts]
docstring-auditor = "python docstring_auditor/main.py {args}"
[tool.hatch.envs.default]
dependencies = [
"click",
"openai",
]
[tool.hatch.envs.dev]
dependencies = [
"click",
"openai",
"mypy",
"black",
"pytest",
]
python_requires = ">=3.6"
[tool.hatch.envs.dev.scripts]
lint-types = "mypy docstring_auditor"
lint-format = "black tests docstring_auditor"
tests = "pytest tests"
[tool.black]
line_length = 88
target_version = ['py36', 'py37', 'py38', 'py39', 'py310', 'py311']