Skip to content

Commit 9a862fc

Browse files
authored
chore: fix code spell errors (#1431)
1 parent c09ca76 commit 9a862fc

File tree

3 files changed

+14
-14
lines changed

3 files changed

+14
-14
lines changed

Diff for: .pre-commit-config.yaml

+8-8
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ repos:
2929
rev: v0.9.1
3030
hooks:
3131
- id: sphinx-lint
32-
# Configuration for codespell is in pyproject.toml
33-
# - repo: https://github.com/codespell-project/codespell
34-
# rev: v2.3.0
35-
# hooks:
36-
# - id: codespell
37-
# exclude: (package-lock.json|/locale/)
38-
# additional_dependencies:
39-
# - tomli
32+
# Configuration for codespell is in pyproject.toml
33+
- repo: https://github.com/codespell-project/codespell
34+
rev: v2.3.0
35+
hooks:
36+
- id: codespell
37+
exclude: (package-lock.json|/locale/)
38+
additional_dependencies:
39+
- tomli

Diff for: CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ This is a major release with **BREAKING** changes. Please make sure to review th
206206

207207
## [1.6.0] 2021-12-19
208208
### Added
209-
* #949 Provide django.contrib.auth.authenticate() with a `request` for compatibiity with more backends (like django-axes).
209+
* #949 Provide django.contrib.auth.authenticate() with a `request` for compatibility with more backends (like django-axes).
210210
* #968, #1039 Add support for Django 3.2 and 4.0.
211211
* #953 Allow loopback redirect URIs using random ports as described in [RFC8252 section 7.3](https://datatracker.ietf.org/doc/html/rfc8252#section-7.3).
212212
* #972 Add Farsi/fa language support.

Diff for: pyproject.toml

+5-5
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ exclude = '''
1010
'''
1111

1212
# Ref: https://github.com/codespell-project/codespell#using-a-config-file
13-
# [tool.codespell]
14-
# skip = '.git,package-lock.json,locale'
15-
# check-hidden = true
16-
# ignore-regex = '.*pragma: codespell-ignore.*'
17-
# ignore-words-list = ''
13+
[tool.codespell]
14+
skip = '.git,package-lock.json,locale,AUTHORS,tox.ini'
15+
check-hidden = true
16+
ignore-regex = '.*pragma: codespell-ignore.*'
17+
ignore-words-list = 'assertIn'

0 commit comments

Comments
 (0)