forked from ClickHouse/metabase-clickhouse-driver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.clj
63 lines (52 loc) · 2.4 KB
/
project.clj
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
(defproject metabase/clickhouse-driver "1.0.0-SNAPSHOT-0.1.54"
:description "Metabase ClickHouse Driver"
:min-lein-version "2.5.0"
:aliases
{"bikeshed" ["with-profile" "+bikeshed" "bikeshed" "--max-line-length" "205"]
"check-namespace-decls" ["with-profile" "+check-namespace-decls" "check-namespace-decls"]
"docstring-checker" ["with-profile" "+docstring-checker" "docstring-checker"]
"eastwood" ["with-profile" "+eastwood" "eastwood"]
"test" ["with-profile" "+expectations" "expectations"]}
:dependencies
[[ru.yandex.clickhouse/clickhouse-jdbc "0.2.4-enqueue"
:exclusions [com.fasterxml.jackson.core/jackson-core
org.slf4j/slf4j-api]]]
:profiles
{:provided
{:dependencies [[metabase-core "1.0.0-SNAPSHOT"]]}
:ci
{:jvm-opts ["-Xmx2500m"]}
:uberjar
{:auto-clean true
:aot :all
:javac-options ["-target" "1.8", "-source" "1.8"]
:target-path "target/%s"
:uberjar-name "clickhouse.metabase-driver.jar"}
:bikeshed
{:plugins [[lein-bikeshed "0.4.1"]]}
:eastwood
{:plugins
[[jonase/eastwood "0.3.1" :exclusions [org.clojure/clojure]]]
:eastwood
{:exclude-namespaces [:test-paths]
:config-files ["../metabase/test_resources/eastwood-config.clj"]
:add-linters [:unused-private-vars
:unused-namespaces
;; These linters are pretty useful but give a few false positives and can't be selectively
;; disabled (yet)
;;
;; For example see https://github.com/jonase/eastwood/issues/193
;
;; It's still useful to re-enable them and run them every once in a while because they catch
;; a lot of actual errors too. Keep an eye on the issue above and re-enable them if we can
;; get them to work
#_:unused-fn-args
#_:unused-locals]
;; Turn this off temporarily until we finish removing self-deprecated functions & macros
:exclude-linters [:deprecations]}}
:docstring-checker
{:plugins
[[docstring-checker "1.0.3"]]
:docstring-checker
{:include [#"^metabase\.driver\.clickhouse"]
:exclude [#"test"]}}})