-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpyproject.toml
45 lines (34 loc) · 995 Bytes
/
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
[tool.poetry]
name = "codegpt"
version = "0.3.1"
license = "GPL-3.0-or-later"
description = "A CLI tool for developers using GPT-3."
authors = ["John Partee"]
repository = "https://github.com/morganpartee/codegpt"
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.8"
openai = "^0.2"
typer = "^0.4.0"
python-magic = "^0.4.27"
rich = "^12.6.0"
[tool.poetry.dev-dependencies]
pytest = "^7.0"
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"
[tool.poetry.scripts]
codegpt = "codegpt.main:app"
[tool.pytest]
addopts = "--capture=fd --cov=my_module"
# Directory where cache files should be stored
cache_dir = ".pytest_cache"
# List of plugins to load
plugins = ["pytest-cov"]
# List of files or directories to ignore during testing
norecursedirs = ["venv"]
# List of markers to exclude from test discovery
markers = ["not_ready: mark tests that are not yet ready to be run"]
[tool.pytest.ini_options]
pythonpath = ["codegpt"]
testpaths = ["tests"]