Skip to content

Commit

Permalink
Fixed linter errors on imports.
Browse files Browse the repository at this point in the history
  • Loading branch information
svetlyak40wt committed Mar 18, 2024
1 parent 2eec1ed commit c323c86
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 22 deletions.
11 changes: 4 additions & 7 deletions src/downloader.lisp
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
(uiop:define-package #:scrapycl/downloader
(:use #:cl)
(:import-from #:scrapycl/core
#:fetch)
(:import-from #:dex)
(:import-from #:scrapycl/request
#:spider
#:fetch
#:request
#:request-url)
(:import-from #:scrapycl/errors
#:request-url
#:fetch-error)
(:import-from #:scrapycl/spider
#:spider))
(:import-from #:dex))
(in-package #:scrapycl/downloader)


Expand Down
7 changes: 3 additions & 4 deletions src/engine.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
#:spider
#:start
#:process
#:enqueue)
#:enqueue
#:request-url)
(:import-from #:scrapycl/spider)
(:import-from #:scrapycl/task
#:task
Expand All @@ -19,9 +20,7 @@
(:import-from #:scrapycl/core
#:stop-output)
(:import-from #:serapeum
#:->)
(:import-from #:scrapycl/request
#:request-url))
#:->))
(in-package #:scrapycl/engine)


Expand Down
1 change: 1 addition & 0 deletions src/output/json.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#:->
#:fmt)
(:import-from #:yason)
(:import-from #:str)
(:import-from #:bt2)
(:import-from #:closer-mop
#:class-slots)
Expand Down
3 changes: 1 addition & 2 deletions src/request.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
(:use #:cl)
(:import-from #:scrapycl/core
#:request
#:request-url)
(:import-from #:scrapycl/types
#:request-url
#:url))
(in-package #:scrapycl/request)

Expand Down
5 changes: 2 additions & 3 deletions src/spider.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@
(:import-from #:scrapycl/core
#:enqueue
#:start
#:spider)
#:spider
#:request)
(:import-from #:serapeum
#:soft-list-of)
(:import-from #:scrapycl/request
#:request)
(:import-from #:bt2
#:make-lock)
(:import-from #:40ants-doc/ignored-words
Expand Down
4 changes: 1 addition & 3 deletions src/task.lisp
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
(uiop:define-package #:scrapycl/task
(:use #:cl)
(:import-from #:scrapycl/core
#:spider))
(:use #:cl))
(in-package #:scrapycl/task)


Expand Down
4 changes: 1 addition & 3 deletions src/types.lisp
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
(uiop:define-package #:scrapycl/types
(:use #:cl)
(:import-from #:scrapycl/core
#:url)
(:import-from #:40ants-doc/ignored-words
#:ignore-words-in-package))
#:url))
(in-package #:scrapycl/types)


Expand Down
1 change: 1 addition & 0 deletions src/utils.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
(:import-from #:alexandria)
(:import-from #:str)
(:import-from #:spinneret)
(:import-from #:plump)
(:import-from #:lquery)
(:import-from #:quri)
(:import-from #:serapeum
Expand Down

0 comments on commit c323c86

Please sign in to comment.