Add spell checker as Makefile target.

This patch adds the `make spell` command so developers can easily
check the spelling on docstrings and comments. False positives
words should be added to spell.ignore file.
Signed-off-by: NAmador Pahim <apahim@redhat.com>
上级 84653478
......@@ -32,6 +32,7 @@ all:
@echo "link: Runs 'python setup.py --develop' in all subprojects and links the needed resources"
@echo "clean: Get rid of scratch, byte files and removes the links to other subprojects"
@echo "selfcheck: Runs tree static check, unittests and functional tests using Avocado itself"
@echo "spell: Runs spell checker on comments and docstrings (requires python-enchant)"
@echo
@echo "Package requirements related targets"
@echo "requirements: Install runtime requirements"
......@@ -173,6 +174,9 @@ link: develop
do AVOCADO_DIRNAME=$(AVOCADO_DIRNAME) make -C $$MAKEFILE link &>/dev/null && echo ">> LINK $$MAKEFILE" || echo ">> SKIP $$MAKEFILE";\
done
spell:
pylint --errors-only --disable=all --enable=spelling --spelling-dict=en_US --spelling-private-dict-file=spell.ignore * && echo OK
man: man/avocado.1 man/avocado-rest-client.1
.PHONY: source install clean check link
......
mux
env
merchantability
lmr
redhat
rhel
distro
rmoura
libc
runtime
stderr
ctrl
stty
paginator
usr
conf
config
datadir
dir
api
iso
gpg
vm
args
os
jeos
logdir
rtype
basestring
tmp
cleber
cli
cmd
prepost
unittests
ascii
unicode
fixme
html
json
sysinfo
pre
xunit
params
argparse
urls
whitespace
shortname
url
str
traceback
filename
namespace
avocadolib
docstring
exc
tuples
tuple
klass
uid
areis
todo
attr
muxes
nics
sys
stdout
splitlines
throbber
mem
func
fmt
itertable
iterable
ui
subcommands
subparsers
utils
hostname
username
autodetect
pem
uptime
apahim
proc
sigterm
subprocess
sigstop
sigtstp
crosa
ast
realname
bool
autotest
py
intree
ini
unittesting
sigsegv
booleans
distros
logf
gzipped
basedir
profiler
mbligh
apw
shadowen
mytest
myte
fs
dirs
shlex
unittest
sleeptest
postprocess
gmail
yaml
tty
ete
http
pythonhosted
phylogenetics
envs
fileobj
attrs
hardcoded
utf
uri
libvirt
hypervisor
ip
https
githubusercontent
mcepl
virt
addr
xml
svn
jenkins
ci
dtkit
junit
src
thalesgroup
xsd
testsuite
timestamp
testcase
multiline
motd
abspath
multiplexation
dicts
restclient
toplevel
subcommand
checksum
installable
amd
libexec
subparser
metavar
signalling
gdb
init
chdir
ldoktor
msg
zipfile
tarfile
symlinks
xz
rw
hashfile
stdlib
englobing
www
tldp
ldp
nxm
unix
ncpus
makeopts
cflags
cpu
cpuinfo
intel
bs
wikipedia
stackoverflow
pickable
kwargs
autodetection
urlopen
dst
gdbserver
ack
tcp
async
afaik
retransmission
multi
returncode
onlinedocs
retransmissions
io
repos
repo
lbranch
inits
userspace
isoinfo
filesystem
cdrkit's
libcdio's
umount
linux
vnet
ibm
submodules
groupdict
lsmod
github
ramdisk
vg
lv
mb
lvs
vfat
mkfs
pu
ypu
kbytes
memtotal
meminfo
eg
gb
numa
num
vmstat
smaps
pid
fragement
buddyinfo
mountpoint
dev
mtab
fstype
pids
filesystems
loopback
unmount
umounting
ro
progname
sudo
fifo
sig
ppid
subshell
prepended
sigkill
rc
prerun
expr
rwx
rx
xinetd
systemctl
symlinking
symlink
sshd
vsftpd
dgram
rsync
systemd
sysctl
bugzilla
cgi
setattr
exe
cmdline
lldpad
crond
dbus
runlevel
initializer
ntpd
httpd
condrestart
br
rcvalle
pname
gdebi
backends
backend
zypper
dpkg
ipython
wildcard
dnf
suse
debian
ubuntu
unpickable
sublicense
noninfringement
laub
phed
nl
const
un
cacm
ph
toucheth
nonterminal
sym
startswith
nonkernel
nk
hacky
nonkernel's
nonterminals
inlines
ptr
inlined
goto
pstate
lhs
pptr
elif
isnullable
rhs
automagically
preorder
subtree
failtest
failtests
psutil
vgs
selftests
lvm
workflow
paramiko
ecdsa
rsa
dss
queryable
unhashable
safeloader
loggables
kosme
noncharacters
repr
len
hw
scsi
stacktrace
exps
umask
hardcode
decompressdir
usa
simplewarning
typestring
pparent
staticmethods
noinspection
chargen
de
brattain
ross
breakpoint
si
sourceware
harisrir
jadmanski
ba
ag
meth
arcname
escapingsection
aleax
prepend
behaviour
hudson
jhcepas
raphtee
executables
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册