forked from dbt-checkpoint/dbt-checkpoint
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
133 lines (122 loc) · 5.81 KB
/
setup.cfg
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
[metadata]
name = pre_commit_hooks
version = 2.0.4
description = List of [pre-commit](https://pre-commit.com) hooks to ensure the quality of your [dbt](https://www.getdbt.com) projects.
long_description = file: README.md
long_description_content_type = text/markdown
url = https://github.com/dbt-checkpoint/dbt-checkpoint
author = Radek Tomšej
author_email = [email protected]
license = MIT
license_file = LICENSE
classifiers =
License :: OSI Approved :: MIT License
Programming Language :: Python :: 3
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: Implementation :: PyPy
[options]
packages = find:
install_requires =
mixpanel
pyyaml
python_requires = >=3.7.1
[options.entry_points]
console_scripts =
check-column-desc-are-same = dbt_checkpoint.check_column_desc_are_same:main
check-column-name-contract = dbt_checkpoint.check_column_name_contract:main
check-macro-has-description = dbt_checkpoint.check_macro_has_description:main
check-macro-arguments-have-desc = dbt_checkpoint.check_macro_arguments_have_desc:main
check-model-columns-have-desc = dbt_checkpoint.check_model_columns_have_desc:main
check-model-has-all-columns = dbt_checkpoint.check_model_has_all_columns:main
check-model-has-contract = dbt_checkpoint.check_model_has_contract:main
check-model-has-constraints = dbt_checkpoint.check_model_has_constraints:main
check-model-has-description = dbt_checkpoint.check_model_has_description:main
check-model-has-meta-keys = dbt_checkpoint.check_model_has_meta_keys:main
check-model-has-labels-keys = dbt_checkpoint.check_model_has_labels_keys:main
check-model-has-properties-file = dbt_checkpoint.check_model_has_properties_file:main
check-model-has-tests-by-name = dbt_checkpoint.check_model_has_tests_by_name:main
check-model-has-tests-by-type = dbt_checkpoint.check_model_has_tests_by_type:main
check-model-has-tests-by-group = dbt_checkpoint.check_model_has_tests_by_group:main
check-model-has-tests = dbt_checkpoint.check_model_has_tests:main
check-model-name-contract = dbt_checkpoint.check_model_name_contract:main
check-model-parents-and-childs = dbt_checkpoint.check_model_parents_and_childs:main
check-model-parents-database = dbt_checkpoint.check_model_parents_database:main
check-model-parents-schema = dbt_checkpoint.check_model_parents_schema:main
check-model-tags = dbt_checkpoint.check_model_tags:main
check-script-has-no-table-name = dbt_checkpoint.check_script_has_no_table_name:main
check-script-ref-and-source = dbt_checkpoint.check_script_ref_and_source:main
check-script-semicolon = dbt_checkpoint.check_script_semicolon:main
check-source-childs = dbt_checkpoint.check_source_childs:main
check-source-columns-have-desc = dbt_checkpoint.check_source_columns_have_desc:main
check-source-has-all-columns = dbt_checkpoint.check_source_has_all_columns:main
check-source-table-has-description = dbt_checkpoint.check_source_table_has_description:main
check-source-has-freshness = dbt_checkpoint.check_source_has_freshness:main
check-source-has-loader = dbt_checkpoint.check_source_has_loader:main
check-source-has-meta-keys = dbt_checkpoint.check_source_has_meta_keys:main
check-source-has-labels-keys = dbt_checkpoint.check_source_has_labels_keys:main
check-source-has-tests-by-group = dbt_checkpoint.check_source_has_tests_by_group:main
check-source-has-tests-by-name = dbt_checkpoint.check_source_has_tests_by_name:main
check-source-has-tests-by-type = dbt_checkpoint.check_source_has_tests_by_type:main
check-source-has-tests = dbt_checkpoint.check_source_has_tests:main
check-source-tags = dbt_checkpoint.check_source_tags:main
check-model-materialization-by-childs = dbt_checkpoint.check_model_materialization_by_childs:main
dbt-clean = dbt_checkpoint.dbt_clean:main
dbt-compile = dbt_checkpoint.dbt_compile:main
dbt-deps = dbt_checkpoint.dbt_deps:main
dbt-docs-generate = dbt_checkpoint.dbt_docs_generate:main
dbt-parse = dbt_checkpoint.dbt_parse:main
dbt-run = dbt_checkpoint.dbt_run:main
dbt-test = dbt_checkpoint.dbt_test:main
generate-missing-sources = dbt_checkpoint.generate_missing_sources:main
generate-model-properties-file = dbt_checkpoint.generate_model_properties_file:main
unify-column-description = dbt_checkpoint.unify_column_description:main
replace-script-table-names = dbt_checkpoint.replace_script_table_names:main
remove-script-semicolon = dbt_checkpoint.remove_script_semicolon:main
check-snapshot-has-meta-keys = dbt_checkpoint.check_snapshot_has_meta_keys:main
check-exposure-has-meta-keys = dbt_checkpoint.check_exposure_has_meta_keys:main
check-macro-has-meta-keys = dbt_checkpoint.check_macro_has_meta_keys:main
check-seed-has-meta-keys = dbt_checkpoint.check_seed_has_meta_keys:main
check-test-has-meta-keys = dbt_checkpoint.check_test_has_meta_keys:main
check-database-casing-consistency = dbt_checkpoint.check_database_casing_consistency:main
[bdist_wheel]
universal = 1
[options.packages.find]
exclude = tests*
[tool:pytest]
testpaths = tests
[coverage:run]
branch = True
source = .
omit =
*/.tox/*
*/__main__.py
*/setup.py
*/venv*/*
tests/*
[coverage:report]
fail_under = 95
show_missing = True
skip_covered = True
skip_empty = True
exclude_lines =
pragma: no cover
if __name__ == .__main__.:
[mypy]
check_untyped_defs = true
disallow_any_generics = true
disallow_incomplete_defs = true
disallow_untyped_defs = true
no_implicit_optional = true
warn_no_return = false
[mypy-tests.*]
disallow_untyped_defs = false
[flake8]
ignore = BLK100,E231,W503
statistics = 1
max-line-length = 88
[mutmut]
runner = python -m pytest -x
tests_dir = tests/unit