Projet

Général

Profil

Révision 4d8456af

ID4d8456af03eb0ce08af1793e13ed9bc2a2fa260f
Parent 4cea2f60
Enfant 1e81c032

Ajouté par Lars Kruse il y a plus de 5 ans

Introduce spelling tests via codespell

Voir les différences:

.codespell.exclude
1
        echo "succes.label Login success"
2
        echo "succes.draw AREA"
3
echo "succes.value $success"
4
Tim Small <tim@seoss.co.uk>
5
    accesss      => 'NFSPROC3_ACCESS (Check Access Permission)',
6
# Beginn des modifizierten Skriptes        - Beginning of the modified script  #
7
				[ /(\d+) packets with ECN ECT\(0\) bit set$/, [ [ :packets, 'ECT(0) bit' ] ] ],
8
				[ /(\d+) packets with ECN ECT\(1\) bit set$/, [ [ :packets, 'ECT(1) bit' ] ] ],
9
				[ /(\d+) ARP entrys? timed out$/, [ [ :entries, 'timed out' ] ] ],
10
echo -en "recieved.value "
11
	print "require dont.graph.anything [0-9]+\n"
12
# Informations générales :
13
#   Marge de bruit         5.10 dB            5.60 dB           
14
#   Adresse MAC Freebox            XX:XX:XX:XX:XX:XX
15
#   Adresse IP                     203.0.113.60            
16
#   Adresse IP privée              192.0.2.1             
17
#   Adresse IP DMZ                 192.0.2.2             
18
#   Adresse IP Freeplayer          192.0.2.0             
19
#   Adresse MAC            Adresse IP                  
20
# Linjen som grep'es ut kan se ut som dette:
21
# Linjen som grep'es ut kan se ut som dette:
22
VISITORS="$(echo '<doc><item>munin</item></doc>' | curl --silent -X POST -H 'Content-type: text/xml' -d @- http://api.trafic.ro/rest/0.01/sumar-site/$RID |  xmlstarlet sel -t -m "/sumar-site/vizitatori_ultimele_24_ore" -v ".")"
23
#  - Serien Timer werden nun separat gezaehlt (anzahl pro Woche)
24
#  - Timer werden nur ignoriert wenn sie 0(inaktiv) als Status haben
25
    primary muss ein iterable oder StringType sein
26
    secondary muss iterable oder StringType sein
27
		print  ("d.label Design voltage\nd.type GAUGE\nd.draw AREA\n");
28
	if ($str =~ /^(no?|0|f(alse)?)$/i) {
29
# (Based off the perl munin plugin by Joan Carles Soler)
30
    <hist>
31
    </hist>
32
Christian Loos <cloos@netsandbox.de>
33
#  - kein div 0 Fehler mehr wenn der  Host nicht zu erreichen ist
34
#  - im Namen kann Munin-konform der Hostname mit angegeben werden: vdr_localhost vdr_192.168.0.2, ... (localhost ist default)
35
    print "platte.info Angabe, wieviel der von VDR beschreibbaren Festplatten belegt ist.\n";
36
	echo 'graph_title Samba Locked Files'
37
	echo 'graph_vlabel number of locked files'
38
	echo 'samba_locked.label Locked Files'
39
	echo 'lock.label Locked files'
40
    echo 'graph_info This graph shows the Memory used by process'
41
	echo 'shares.label shared files'
42
# Based on Tim Wulkau's script. Thank you!
43
        echo 'graph_title Memory usage by process'
44
	echo 'VmSize.info The size of the virtual memory allocated to the process'
45
grep -v 'Preparing to download files' | \
.codespell.ignore-words
1
cas
2
conexant
3
ende
4
referer
5
wan
.travis.yml
3 3
addons:
4 4
  apt:
5 5
    packages:
6
      - codespell
6 7
      - devscripts
7 8
      - python
8 9
      - python-flake8
......
84 85
  # - MythTV
85 86

  
86 87
script:
88
  - make lint
87 89
  - prove
Makefile
1
.PHONY: lint
2
lint:
3
	# TODO: add "--ignore-words .codespell.ignore-words" as soon as travis supports a newer
4
	#     testing environment (containing codespell 0.11 or later).
5
	find plugins/ -type f -not -name "*.png" -not -name "*.conf" -not -name "*.jar" -print0 \
6
		| xargs -0 codespell \
7
			--exclude-file .codespell.exclude

Formats disponibles : Unified diff