Skip to content

Commit

Permalink
[lint] allow :refer :all in specific places
Browse files Browse the repository at this point in the history
  • Loading branch information
Gilles Philippart committed Jun 10, 2022
1 parent a360d09 commit 1de7249
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 19 deletions.
14 changes: 3 additions & 11 deletions src/jackdaw/streams/configured.clj
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,9 @@
"Clojure wrapper to kafka streams."
{:license "BSD 3-Clause License <https://github.com/FundingCircle/jackdaw/blob/master/LICENSE>"}
(:refer-clojure :exclude [count map reduce group-by merge filter peek])
(:require [jackdaw.streams.protocols :refer [IGlobalKTable IKGroupedBase IKGroupedStream IKGroupedTable IKStream
IKStreamBase IKTable ISessionWindowedKStream IStreamsBuilder
ITimeWindowedKStream aggregate branch count filter filter-not flat-map
flat-map-values for-each! global-ktable global-ktable* group-by
group-by-key join join-global join-windowed kgroupedtable* kstream
kstream* kstreams ktable ktable* left-join left-join-global
left-join-windowed map map-values merge outer-join outer-join-windowed
peek print! process! reduce select-key source-topics streams-builder*
suppress through to! to-kstream transform transform-values
windowed-by-session windowed-by-time]]
[jackdaw.streams.configurable :refer [IConfigurable]]))
#_{:clj-kondo/ignore [:refer-all]}
(:require [jackdaw.streams.protocols :refer :all]
[jackdaw.streams.configurable :refer :all]))

(set! *warn-on-reflection* true)

Expand Down
11 changes: 3 additions & 8 deletions src/jackdaw/streams/interop.clj
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,9 @@
"Clojure wrapper to kafka streams."
{:license "BSD 3-Clause License <https://github.com/FundingCircle/jackdaw/blob/master/LICENSE>"}
(:refer-clojure :exclude [count map reduce group-by merge filter peek])
(:require [jackdaw.streams.protocols :refer [IGlobalKTable IKGroupedBase IKGroupedStream IKGroupedTable IKStream
IKStreamBase IKTable ISessionWindowedKStream IStreamsBuilder
ITimeWindowedKStream flat-transform flat-transform-values global-ktable*
kstream* ktable* transform transform-values]]
[jackdaw.streams.lambdas :refer [->FnStreamPartitioner aggregator foreach-action initializer
key-value-flatmapper key-value-mapper merger predicate processor-supplier
reducer select-key-value-mapper transformer-supplier value-joiner
value-mapper value-transformer-supplier]])
#_{:clj-kondo/ignore [:refer-all]}
(:require [jackdaw.streams.protocols :refer :all]
[jackdaw.streams.lambdas :refer :all])
(:import [java.util
Collection]
[java.util.regex
Expand Down

0 comments on commit 1de7249

Please sign in to comment.