File tree Expand file tree Collapse file tree 5 files changed +25
-0
lines changed Expand file tree Collapse file tree 5 files changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -10,3 +10,4 @@ sphinx-lint --enable=all --disable=line-too-long README.rst CONTRIBUTING.rst doc
10
10
python -m djlint --check --lint ./warehouse/templates ./docs/blog
11
11
python -m mypy -p warehouse
12
12
./bin/flushes
13
+ codespell
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
set -ex
3
3
4
+ # Fix typos before other changes, as they may affect formatting.
5
+ codespell --write
4
6
find . -name ' *.py' -exec python -m pyupgrade --py313-plus {} +
5
7
python -m isort * .py warehouse/ tests/
6
8
python -m black * .py warehouse/ tests/
Original file line number Diff line number Diff line change @@ -129,3 +129,20 @@ filterwarnings = [
129
129
# TODO: This can be removed once it becomes the default.
130
130
# See: https://github.com/jazzband/pip-tools/issues/989
131
131
allow-unsafe = true
132
+
133
+ [tool .codespell ]
134
+ ignore-words-list = " deriver"
135
+ skip = [
136
+ ' *.po' ,
137
+ ' ./dev/.mypy_cache/*' ,
138
+ ' ./dev/.pytest_cache/*' ,
139
+ ' ./docs/blog-site/*' ,
140
+ ' ./docs/dev/_build/*' ,
141
+ ' ./docs/user-site/*' ,
142
+ ' ./htmlcov/*' ,
143
+ ' ./node_modules/**' ,
144
+ ' ./package-lock.json' ,
145
+ ' ./warehouse/admin/static/dist/*' ,
146
+ ' ./warehouse/static/dist/*' ,
147
+ ' ./warehouse/static/js/vendor/zxcvbn.js' ,
148
+ ]
Original file line number Diff line number Diff line change
1
+ codespell
1
2
djlint
2
3
flake8
3
4
flake8-pytest-style
Original file line number Diff line number Diff line change @@ -115,6 +115,10 @@ click==8.2.1 \
115
115
# via
116
116
# black
117
117
# djlint
118
+ codespell==2.4.1 \
119
+ --hash=sha256:299fcdcb09d23e81e35a671bbe746d5ad7e8385972e65dbb833a2eaac33c01e5 \
120
+ --hash=sha256:3dadafa67df7e4a3dbf51e0d7315061b80d265f9552ebd699b3dd6834b47e425
121
+ # via -r requirements/lint.in
118
122
colorama==0.4.6 \
119
123
--hash=sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44 \
120
124
--hash=sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6
You can’t perform that action at this time.
0 commit comments