-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpyproject.toml
76 lines (65 loc) · 1.72 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
[tool.poetry]
name = "deepl-fastapi"
version = "0.1.2"
description = "deepl via fastapi"
authors = ["freemt"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/ffreemt/deepl-fastapi"
[tool.poetry.dependencies]
python = "^3.7"
logzero = "^1.6.3"
fastapi = "^0.63.0"
uvicorn = "^0.13.4"
portalocker = "^2.2.1"
nest-asyncio = "^1.5.1"
get-ppbrowser = "^0.1.3"
deepl-scraper-pp = "^0.1.2"
requests = "^2.25.1"
[tool.poetry.dev-dependencies]
pytest = "^5.2"
flake8 = "^3.9.0"
tbump = "^6.3.1"
ipython = "^7.21.0"
micropipenv = "^1.0.3"
httpx = "^0.17.1"
[tool.poetry.scripts]
deepl-fastapi = "deepl_fastapi.run_uvicorn:main"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
# Uncomment this if your project is hosted on GitHub:
# github_url = "https://github.com/<user or organization>/<project>/"
[tool.tbump.version]
current = "0.1.0"
# Example of a semver regexp.
# Make sure this matches current_version before
# using tbump
regex = '''
(?P<major>\d+)
\.
(?P<minor>\d+)
\.
(?P<patch>\d+)
'''
[tool.tbump.git]
message_template = "Bump to {new_version}"
tag_template = "v{new_version}"
# For each file to patch, add a [[tool.tbump.file]] config
# section containing the path of the file, relative to the
# tbump.toml location.
[[tool.tbump.file]]
src = "*/__init__.py"
[[tool.tbump.file]]
src = "package.json"
# You can specify a list of commands to
# run after the files have been patched
# and before the git commit is made
# [[tool.tbump.before_commit]]
# name = "check changelog"
# cmd = "grep -q {new_version} Changelog.rst"
# Or run some commands after the git tag and the branch
# have been pushed:
# [[tool.tbump.after_push]]
# name = "publish"
# cmd = "./publish.sh"