-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
68 lines (60 loc) · 1.46 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
[tool.poetry]
name = "ideafast-etl"
version = "0.3.1"
description = ""
authors = ["David <[email protected]>"]
[tool.poetry.dependencies]
python = "^3.8"
click = "^7.1.2"
apache-airflow-providers-mongo = "^2.1.0"
dmpy = {git = "https://github.com/ideafast/dmpy", rev = "0.1.3"}
requests-toolbelt = "^0.9.1"
[tool.poetry.dev-dependencies]
pytest = "^5.2"
pre-commit = "^2.15.0"
black = "^21.9b0"
flake8 = "^4.0.1"
flake8-aaa = "^0.12.0"
flake8-bandit = "^2.1.2"
flake8-black = "^0.2.3"
flake8-bugbear = "^21.9.2"
isort = "^5.9.3"
mypy = "^0.910"
apache-airflow = "^2.2.0"
coverage = {extras = ["toml"], version = "^6.0.2"}
pytest-cov = "^3.0.0"
nox = "^2021.10.1"
nox-poetry = "^0.8.6"
flake8-docstrings = "^1.6.0"
[tool.poetry.scripts]
build = "cli:build"
version = "cli:version"
bump = "cli:bump"
publish = "cli:publish"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.coverage.paths]
source = ["/ideafast_etl"]
[tool.coverage.run]
branch = true
source = ["ideafast_etl", "dags", "cli.py"]
[tool.coverage.report]
show_missing = true
exclude_lines = [
# db methods that are 'one line' wrappers
'def custom_',
'def __custom',
'def find_hashes',
'def find_patientid_is_none',
'def find_dmpid_is_none',
'def find_records_by_dmpid',
# context management methods
'def __enter__',
'def __exit__',
'def close',
# temporary helper methods
'def _csv_as_dict'
]
[tool.isort]
profile = "black"