forked from bit-team/backintime
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.codespellrc
40 lines (35 loc) · 1.7 KB
/
.codespellrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# SPDX-FileCopyrightText: © 2023 Christian Buhtz <c.buhtz@posteo.jp>
#
# SPDX-License-Identifier: CC0-1.0
#
# This file is released under Creative Commons Zero 1.0 (CC0-1.0) and part of
# the program "Back In Time". The program as a whole is released under GNU
# General Public License v2 or any later version (GPL-2.0-or-later).
# See LICENSES directory
# go to <https://spdx.org/licenses/CC0-1.0.html>
# and <https://spdx.org/licenses/GPL-2.0-or-later.html>.
[codespell]
# Folders and files to skip
skip = .codespellrc,*.po,Makefile,*.desktop,.git,__pycache__,*.pyc,#*#,languages.py,_build,TRANSLATIONS,./doc/manual/html,mkdocs.yml,configure
# Print N lines of surrounding context
context = 1
# Check hidden files also (empty means True)
check-hidden=
# Print number of errors as last line on stderr (empty means True)
count=
# Dictionaries to use (default: "clear,rare"). Current: all.
builtin = clear,rare,informal,usage,code,names,en-GB_to_en-US
# Allowed (ignored) words
ignore-words-list=master,whitelist,manuel,dum,assertIn
# Allowed (ignored) words in URLs and URIs
uri-ignore-words-list=mitre,Archiv
# Good to know about allowed/ignored words:
# Codespell acts a bit unusual when it comes to case-sensitivity.
# By default the word "Manuel" is an error and codespell recommends to
# modify it into "Manual". To allow this German name "Manuel" we have to
# add "manual" (lower case!) to the "ignore-words-list". The upper-case
# version do not work.
# See: https://github.com/codespell-project/codespell/issues/3210
# Simulate "# noqa" and ignore all lines with "# codespell-ignore" at the end.
# Credits: https://github.com/codespell-project/codespell/issues/1212#issuecomment-1721152455
ignore-regex=.*# codespell-ignore$