forked from GoogleCloudPlatform/cloud-data-quality
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
90 lines (75 loc) · 2.17 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
88
89
90
[tool.poetry]
name = "clouddq"
version = "0.1.0"
description = "Data Quality Engine for BigQuery"
authors = ["Thinh Ha <[email protected]>"]
license = "Apache-2.0"
readme = 'README.md'
repository = "https://github.com/GoogleCloudPlatform/cloud-data-quality"
homepage = "https://github.com/GoogleCloudPlatform/cloud-data-quality"
keywords = ['bigquery', 'data quality']
include = ["clouddq/templates/**"]
[tool.poetry.scripts]
clouddq = "clouddq.main:main"
[tool.poetry.dependencies]
python = "^3.8.6,<3.9.0"
click = "^7.1.2"
# Waiting for dbt to upgrade their jinja2 dependency to remove vulnerability in 2.11.2
Jinja2 = "^2.11.2"
PyYAML = "^5.3.1"
dbt-bigquery = "^0.19.1"
# dbt's 3rd level dependency broken, so locking said dependency "agate" to working version 1.6.1
agate = "1.6.1"
[tool.poetry.dev-dependencies]
pytest = "^6.1.2"
pytest-cov = "^2.10.1"
black = "^21.5b0"
isort = "^5.6.4"
pyupgrade = "^2.10.0"
flakehell = "^0.9.0"
[build-system]
requires = ["poetry_core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[virtualenvs]
create = true
in-project = true
[tool.flakehell]
pycodestyle = ["+*"]
pyflakes = ["+*"]
format = "grouped"
application_import_names = ['clouddq','tests']
import_order_style = 'google'
docstring_convention = 'google'
max_line_length = 88
max_complexity = 10
show_source = true
extended_default_ignore=[]
[tool.flakehell.plugins]
pyflakes = ["+*"]
"flake8-*" = ["+*"]
pycodestyle = ["+*"]
pylint = ["+F*", "+E*", "-E0611", "-E1101", "-E0401", "-E1102", "-E1123"]
mccabe = ["+*"]
pep8-naming = ["+*"]
[tool.flakehell.exceptions."clouddq/utils.py"]
pyflakes = ['-S404','-S603']
[tool.flakehell.exceptions."tests/*"]
pyflakes = ['-ANN','-S101','-D','-DAR','-S404']
[tool.flakehell.exceptions."**/__init__.py"]
pyflakes = ['-F401']
[tool.isort]
profile = "google"
force_single_line = true
force_sort_within_sections = true
reverse_relative = true
atomic = true
include_trailing_comma = true
lines_after_imports = 2
lines_between_types = 1
use_parentheses = true
src_paths = ["clouddq", "tests"]
skip_glob = ["*/setup.py"]
filter_files = true
known_first_party = "clouddq"
known_third_party = ['typical','click','jinja2','pytest','yaml']
no_lines_before = "LOCALFOLDER"