-
Notifications
You must be signed in to change notification settings - Fork 56
/
pyproject.toml
106 lines (91 loc) · 2.53 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
[tool.poetry]
name = "clouddq"
version = "1.0.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,<4.0.0"
click = "^7.1.2"
coloredlogs="^15.0.1"
Jinja2 = "^2.11.3"
PyYAML = "^5.3.1"
dbt-bigquery = "^0.20.2"
sqlite-utils = "^3.18"
requests-oauth2 = "^0.3.0"
google-api-python-client = "^2.27.0"
google-cloud-storage = "^1.42.3"
google-cloud-logging = "^2.7.0"
pyrate-limiter = "^2.6.0"
markupsafe = "2.0.1"
pytz = "^2015.7"
[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"
flake8 = "^3.9.2"
pytest-xdist = "^2.4.0"
filelock = "^3.3.2"
markupsafe = "2.0.1"
pytz = "^2015.7"
[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 = 'black'
docstring_convention = 'google'
max_line_length = 120
max_complexity = 10
show_source = true
extended_default_ignore=[]
[tool.flakehell.plugins]
pyflakes = ["+*"]
"flake8-*" = ["+*"]
pycodestyle = ["+*", "-E402", "-E123", "-E128", "-E302", "-E126", "-E125", "-W503"]
pylint = ["+F*", "+E*", "-E0611", "-E1101", "-E0401", "-E1102", "-E1123"]
mccabe = ["+*"]
pep8-naming = ["+*"]
flake8-bandit = ["+*"]
flake8-docstrings = ["+*"]
flake8-bugbear = ["+*"]
flake8-mutable = ["+*"]
flake8-simplify = ["+*"]
flake8-variables-names = ["+*"]
[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 = "black"
force_single_line = true
reverse_relative = true
from_first = 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 = ['click','jinja2','pytest','yaml', 'pyyaml', 'dbt', 'gitpython', 'coloredlogs', 'markupsafe']
no_lines_before = "LOCALFOLDER"