File tree Expand file tree Collapse file tree 4 files changed +251
-3
lines changed Expand file tree Collapse file tree 4 files changed +251
-3
lines changed Original file line number Diff line number Diff line change @@ -28,13 +28,14 @@ __pycache__/
2828# private vscode workspace settings:
2929.vscode /settings.json
3030
31+ # Virtualenv
32+ .venv /
33+
3134# temporary file from tests/test_cpio.py (to be fixed later)
3235/data
3336# Output from mypy --txt-report
3437/index.txt
3538
36- htmlcov /
37-
3839# Pip editable install directory
3940python_libs.egg-info /
4041
Original file line number Diff line number Diff line change @@ -164,3 +164,10 @@ repos:
164164 - id : mixed-line-ending
165165 args : ['--fix=lf']
166166 description : Replace line endings with LF
167+
168+
169+ # Run the CSpell command line spell checker
170+ - repo : https://github.com/streetsidesoftware/cspell-cli
171+ rev : v8.16.0
172+ hooks :
173+ - id : cspell
Original file line number Diff line number Diff line change 1- codecov
1+ abstractmethod
2+ accessorclass
3+ actrc
4+ addopts
5+ answerfile
6+ authhandler
7+ autolinks
8+ autouse
9+ binstr
10+ biosdevname
11+ booleaness
12+ bootdir
13+ builtins
14+ caplog
15+ CLOEXEC
16+ cmdline
17+ CodeCov
18+ configparser
219covcombine
20+ covcp
21+ coveragerc
322coverallsapp
423cpio
524cpiofile
625cpioinfo
26+ crashkernel
27+ curstate
28+ datamodel
29+ deadsnakes
30+ dinfo
31+ diskutil
32+ distutils
33+ DOTQUAD
34+ drule
35+ dunder
36+ editenv
37+ eliloader
38+ ENOENT
39+ ENVLOGDIR
40+ errkey
41+ errmsg
42+ eths
743euxv
44+ extlinux
45+ EXTLINUX
46+ faulthandler
47+ fcoe
48+ filehandle
49+ Filesyste
50+ FilesystemAccessor
51+ filterwarnings
52+ fstype
53+ ftpaccessor
54+ ftpserver
55+ getpid
56+ getpreferredencoding
57+ getuid
58+ grubdir
59+ grubenv
60+ hardlinks
61+ host-cpu-tune
62+ hpet
63+ httpaccessor
64+ httpserver
65+ hwdata
866ibft
67+ icdiff
968ifrename
69+ igmp
70+ inputtext
71+ intify
72+ isort
73+ keywrd
1074kname
75+ koji
76+ kwargs
1177lastboot
78+ laststate
79+ levelname
80+ lfile
81+ libc
82+ libexec
1283linkname
84+ linktext
85+ localftpserver
1386logbuf
87+ ltex
88+ lzma
1489MACPCI
90+ markdownlint
91+ mboot
92+ mdreport
93+ Mellanox
94+ memoryhelper
95+ menuentry
96+ minidom
97+ mountingaccessor
98+ mountpoint
99+ multiboot
100+ mypy
101+ Navi
15102nektos
103+ netdev
104+ netns
105+ newc
106+ newdefault
107+ newhw
108+ NEWNET
109+ nfspath
110+ nics
111+ nodelist
112+ nodocker
113+ nolvm
114+ noqueue
115+ norules
116+ oldstate
117+ ord
16118organisation
119+ outerr
120+ outkey
121+ passman
122+ pathexists
123+ pciids
124+ pcis
125+ pcpus
126+ pipx
127+ Popen
128+ ppns
129+ precheck
130+ proc
131+ pvsproxy
132+ pycache
133+ pyenv
17134pyfakefs
135+ pylance
136+ pyliblzma
137+ pylint
138+ Pylint
139+ pylintrc
140+ pylzma
18141pyproject
142+ pyright
143+ pytest
144+ PYTHONDEVMODE
145+ pythonpath
19146PYTHONWARNINGS
147+ pytype
148+ qdisc
149+ qlen
150+ Radeon
151+ rckey
152+ readbuffer
153+ readline
154+ repofiles
155+ REPOMD
156+ retcode
157+ retrans
20158rulefile
159+ sbdf
160+ SBDF
161+ sbdfi
162+ setdefault
163+ setenv
164+ SETFD
165+ setuptools
166+ shellcheck
167+ signoff
168+ somestring
169+ sourcery
170+ srule
171+ strerror
172+ stringio
173+ subcls
174+ subdevice
175+ subvendor
176+ sysconfig
177+ tboot
178+ Tboot
179+ templatedir
180+ testfile
181+ testpaths
182+ textiowrapper
183+ timeo
184+ tmpfs
185+ tmultiboot
21186tname
22187tokenless
188+ Traceback
189+ treeinfo
190+ ucode
191+ ucontext
192+ uidmap
193+ urllib
194+ usecase
195+ usecases
196+ vcpus
197+ vcputune
198+ venv
199+ verhash
200+ vfat
201+ videoclass
23202virtualenv
203+ virtualenvs
24204virutalenv
205+ VPRO
25206workdir
207+ xapi
208+ XAPI
209+ XCP-ng
210+ xcp-python-libs
211+ xcptestlib
212+ xelogging
213+ xenopsd
214+ XenServer
215+ xensource
216+ xmldoc
217+ xmlunwrap
Original file line number Diff line number Diff line change 1+ // http://cspell.org/docs/getting-started/#2-add-words-to-the-project-dictionary
2+ {
3+ "version" : " 0.2" ,
4+ "language" : " en-GB,en-US" ,
5+ "dictionaryDefinitions" : [
6+ {
7+ "name" : " cspell-workspace-dictionary" ,
8+ "path" : " .vscode/ltex.dictionary.en-US.txt" ,
9+ "addWords" : true
10+ }
11+ ],
12+ "dictionaries" : [" cspell-workspace-dictionary" ],
13+ "ignorePaths" : [
14+ " .actrc" ,
15+ " .pylintrc" ,
16+ " Makefile" ,
17+ " pyproject.toml" ,
18+ " stubs/" ,
19+ " tests/xcptestlib_unshare.py" ,
20+ " tox.ini" ,
21+ " xcp/cpiofile.py" ,
22+ " xcp/net/ifrename/dynamic.py" ,
23+ " xcp/net/ifrename/logic.py" ,
24+ " xcp/net/ifrename/util.py" ,
25+ " xcp/net/ip.py" ,
26+ " xcp/repository.py" ,
27+ " xcp-python-libs.spec.in"
28+ ],
29+ "ignoreRegExpList" : [
30+ // exclude regular expressions from re.compile(pattern)
31+ " re.compile(.*)" ,
32+ // exclude MAC addresses
33+ " MAC(.*)"
34+ ],
35+ "ignoreWords" : [
36+ // In a log message, fix in final commit
37+ " Succesfully" ,
38+ // Volume label used in tests
39+ " vgdorj" ,
40+ // Unclear words in test method names
41+ " nosrules" ,
42+ " rshp" ,
43+ " siobuff" ,
44+ // Used to test an invalid quad
45+ " efgh" ,
46+ " ijkl"
47+ ]
48+ }
You can’t perform that action at this time.
0 commit comments