Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

Enable codespell for dev folder (#68124)

Nemanja Glumac9a6393ff4ae4
diff --git a/dev/src/dev/migrate.clj b/dev/src/dev/migrate.clj
index 6c200c4f330..38dbeba20fa 100644
--- a/dev/src/dev/migrate.clj
+++ b/dev/src/dev/migrate.clj
@@ -142,7 +142,7 @@
clojure -M:migrate rollback id \"v40.00.001\" ;; rollback to a specific migration with id
clojure -M:migrate rollback last-deployment ;; rollback the last deployment
clojure -M:migrate status ;; print the latest migration id
- clojure -M:migrate reset-checksums. ;; sets the checkums to what they would be if migrated from the current changelog"
+ clojure -M:migrate reset-checksums. ;; sets the checksums to what they would be if migrated from the current changelog"
[& args]
(let [[cmd & migration-args] args]
diff --git a/dev/src/dev/model_tracking.clj b/dev/src/dev/model_tracking.clj
index fae239e7df9..0abbf4507f0 100644
--- a/dev/src/dev/model_tracking.clj
+++ b/dev/src/dev/model_tracking.clj
@@ -22,7 +22,6 @@
[toucan2.tools.before-update :as t2.before-update]
[toucan2.util :as t2.util]))
-
(def changes*
"An atom to store all the changes of models that we currently track."
(atom {}))
@@ -79,7 +78,7 @@
:update
(into {} (t2/changes row-or-instance))
(into {} row-or-instance))
- clean-change)
+ clean-change)
path [(t2/table-name model) action]]
;; ideally this should be debug, but for some reasons this doesn't get logged
(on-change path change-info)
@@ -96,7 +95,7 @@
[;; will be better if we could use after-insert to get the inserted id, but toucan2 doesn't define a multimethod for after-insert
[#'t2.before-insert/before-insert :after :insert ::t2.before-insert/before-insert]
[#'t2.before-update/before-update :after :update ::t2.before-update/before-update]
- ;; we do :before aux-method instead of :after for delete bacause the after method has input is number of affected rows
+ ;; we do :before aux-method instead of :after for delete because the after method has input is number of affected rows
[#'t2.before-delete/before-delete :before :delete ::t2.before-delete/before-delete]])
(defn- track-one!
diff --git a/mage/src/mage/codespell.clj b/mage/src/mage/codespell.clj
index b259521f0c9..2b39174d8a7 100644
--- a/mage/src/mage/codespell.clj
+++ b/mage/src/mage/codespell.clj
@@ -7,8 +7,7 @@
(def ^:private codespell-dirs
"Keep these in sync with the list of directories in `.github/workflows/codespell.yml`."
- [#_"dev"
- "docs"
+ ["docs"
#_"e2e"
"enterprise"
"frontend"