forked from sqlfluff/sqlfluff
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
142 lines (137 loc) · 4.31 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
134
135
136
137
138
139
140
141
142
[metadata]
name = sqlfluff
version = 2.3.0
description = The SQL Linter for Humans
long_description = file: README.md
long_description_content_type = text/markdown
url = https://github.com/sqlfluff/sqlfluff
author = Alan Cruickshank
author_email = [email protected]
license = MIT License
license_files = LICENSE.md
project_urls =
Homepage = https://www.sqlfluff.com
Documentation = https://docs.sqlfluff.com
Changes = https://github.com/sqlfluff/sqlfluff/blob/main/CHANGELOG.md
Source = https://github.com/sqlfluff/sqlfluff
Issue Tracker = https://github.com/sqlfluff/sqlfluff/issues
Twitter = https://twitter.com/SQLFluff
Chat = https://github.com/sqlfluff/sqlfluff#sqlfluff-on-slack
classifiers =
Development Status :: 5 - Production/Stable
Environment :: Console
Intended Audience :: Developers
License :: OSI Approved :: MIT License
Operating System :: Unix
Operating System :: POSIX
Operating System :: MacOS
Operating System :: Microsoft :: Windows
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: Implementation :: CPython
Programming Language :: SQL
Topic :: Utilities
Topic :: Software Development :: Quality Assurance
keywords =
sqlfluff
sql
linter
formatter
athena
bigquery
clickhouse
databricks
db2
duckdb
exasol
greenplum
hive
materialize
mysql
postgres
redshift
snowflake
soql
sparksql
sqlite
teradata
trino
tsql
dbt
[options]
package_dir =
=src
packages = find:
python_requires = >=3.7
install_requires =
# Used for finding os-specific application config dirs
appdirs
# Cached property for performance gains
# (use functools version for python >= 3.8)
backports.cached-property; python_version < '3.8'
# To get the encoding of files.
chardet
click
colorama>=0.3
# Used for diffcover plugin
diff-cover>=2.5.0
# importlib_metadata backport for python 3.7
# Require versions with .distributions https://github.com/sqlfluff/sqlfluff/issues/3763
importlib_metadata>=1.0.0; python_version < '3.8'
importlib_resources; python_version < '3.9'
Jinja2
# Used for .sqlfluffignore
pathspec
# We provide a testing library for plugins in sqlfluff.utils.testing
pytest
# We require pyyaml >= 5.1 so that we can preserve the ordering of keys.
pyyaml>=5.1
# The new regex module to allow for more complex pattern matching,
# whilst remaining backwards compatible with existing regex use cases.
# e.g. capturing repeated groups in nested tsql block comments.
# This was introduced in https://github.com/sqlfluff/sqlfluff/pull/2027
# and further details can be found in that PR.
regex
# For returning exceptions from multiprocessing.Pool.map()
tblib
# For parsing pyproject.toml
toml; python_version < '3.11'
# For handling progress bars
tqdm
# better type hints for older python versions
typing_extensions
[options.packages.find]
where =
src
[options.entry_points]
console_scripts =
sqlfluff = sqlfluff.cli.commands:cli
diff_cover =
sqlfluff = sqlfluff.diff_quality_plugin
sqlfluff =
sqlfluff = sqlfluff.core.plugin.lib
# NOTE: We namespace the rules plugins with `rules`, because some
# of them might later collide with other types of plugins. In particular
# `tsql` may eventually refer to a dialect plugin and `jinja` may refer
# to a templater plugin.
sqlfluff_rules_capitalisation = sqlfluff.rules.capitalisation
sqlfluff_rules_aliasing = sqlfluff.rules.aliasing
sqlfluff_rules_layout = sqlfluff.rules.layout
sqlfluff_rules_references = sqlfluff.rules.references
sqlfluff_rules_ambiguous = sqlfluff.rules.ambiguous
sqlfluff_rules_structure = sqlfluff.rules.structure
sqlfluff_rules_convention = sqlfluff.rules.convention
sqlfluff_rules_jinja = sqlfluff.rules.jinja
sqlfluff_rules_tsql = sqlfluff.rules.tsql
[options.package_data]
sqlfluff =
config.ini
core/default_config.cfg
py.typed
[sqlfluff_docs]
stable_version = 2.3.0