forked from fwallacevt/notion-recurring-tasks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPipfile
46 lines (41 loc) · 1.37 KB
/
Pipfile
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
[[source]]
url = "https://pypi.python.org/simple"
name = "pypi"
verify_ssl = true
[scripts]
# We have to do this because `black` does not play well with PEP 517. Therefore, we can't include it in `dev-packages`
# without breaking CI, but we don't want to risk developer environments getting setup incorrectly by skipping install.
# To combat this, provide scripts that will perform all necessary installs for each environment.
#
# Also, we have to use `bash -c` to run multiple commands. See https://github.com/pypa/pipenv/issues/2038 and
# https://github.com/pypa/pipenv/issues/2160 for discussion of why. Basically, pipenv recognizes everything as one
# "command", which isn't right.
install_dev = "bash -c \"pip install black && pipenv install -d && pipenv install\""
format = "bash -c \"isort --profile black --skip-glob 'notion/*' . && black .\""
check = "bash -c \"isort --profile black --skip-glob 'notion/*' --check . && black --check . \""
[dev-packages]
black = "*"
isort = "*"
mypy = "*"
pylint = "*"
pytest = "*"
pytest-aiohttp = "*"
pytest-asyncio = "*"
pytest-cov = "*"
pytest-mock = "*"
pytest-xdist = "*"
types-croniter="*"
types-python-dateutil = "*"
types-requests="*"
[packages]
aiohttp = {extras = ["speedups"],version = "*"}
croniter = "*"
loguru = "*"
python-dotenv="*"
requests = "*"
tzdata="*"
httpx = "*"
[requires]
python_version = "3.10"
[pipenv]
allow_prereleases = true