forked from OPEN-NEXT/LOSH-krawler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
54 lines (49 loc) · 1.44 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
[tool.poetry]
name = "krawl"
version = "0.9.0"
description = ""
authors = ["Andre Lehmann <[email protected]>"]
[tool.poetry.scripts]
krawl = "krawl.cli:main"
[tool.poetry.dependencies]
python = ">=3.7,<4.0"
PyGithub = "^1.55"
toml = "^0.10.2"
rdflib = "^5.0.0"
pathvalidate = "^2.3.2"
langdetect = "^1.0.8"
PyYAML = "^6.0"
requests-oauthlib = "^1.3.0"
requests = "^2.26.0"
python-dateutil = "^2.8.2"
validators = "^0.18.2"
gql = {version = "^3.0.0rc0", extras = ["requests"]}
Cerberus = "^1.3.4"
cleo = "^0.8.1"
langcodes = "^3.3.0"
[tool.poetry.dev-dependencies]
pytest = "^5.2"
poethepoet = "^0.10.0"
yapf = "^0.31.0"
isort = "^5.10.1"
pylint = "^2.11.1"
pytest-cov = "^3.0.0"
pytest-icdiff = "^0.5"
[tool.poe.tasks]
bump = {cmd = "bump2version --allow-dirty", help = "Bump the app version"}
_clean = """
rm -rf .coverage
.pytest_cache
dist
build
./**/__pycache__
"""
clean = {ref = "_clean", help = "Clean up temporary files"}
format = {shell = "isort krawl && yapf -i -r -vv -p krawl", help = "Format the code using YAPF"}
lint = {cmd = "pylint ./krawl", help = "Use PyLint to evaluate the code quality"}
_publish = {cmd = "poetry publish"}
release = {sequence = ["format", "test", "build", "_publish"], help = "Create a release of the application and publish it on PyPi"}
test = {cmd = "pytest --cov=jintaro tests", help = "Run the test suits"}
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"