-
Notifications
You must be signed in to change notification settings - Fork 10
/
pyproject.toml
87 lines (76 loc) · 1.63 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
[tool.poetry]
name = "dangermode"
version = "0.3.0"
homepage = "https://github.com/rgbkrk/dangermode"
description = "ChatGPT Danger Mode for Jupyter"
authors = ["Kyle Kelley <rgbkrk@gmail.com>", "Kafonek <matt.kafonek@noteable.io>"]
readme = "README.md"
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
]
packages = [
{ include = "dangermode" },
]
[tool.poetry.dependencies]
python = "^3.9"
ipython = "^8.12.0"
fastapi = "^0.95.0"
jupyter-console = "^6.6.3"
uvicorn = "^0.21.1"
[tool.poetry.group.dev.dependencies]
tox = "^4.4.11"
bump2version = "^1.0.1"
pytest = "^7.2.2"
black = "^23.3.0"
isort = "^5.12.0"
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-ra -q"
testpaths = [
"tests",
"integration",
]
[tool.tox]
envlist = "py"
skipsdist = true
[testenv]
deps = ["pytest"]
commands = ["pytest"]
[tool.black]
line-length = 120
skip-string-normalization = true
target-version = ['py37', 'py38']
include = '\.pyi?$'
exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
'''
[tool.isort]
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
ensure_newline_before_comments = true
line_length = 120
skip_gitignore = true
# you can skip files as below
#skip_glob = docs/conf.py
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"