Debian Codegraph @

codespell.exclude

raw
1 # ignored lines for codespell
2
3 Changelog.txt
4 - Arret sur images
5
6 bypy/windows/XUnzip.cpp
7 #define LOADIN {p=z->next_in;n=z->avail_in;b=s->bitb;k=s->bitk;}
8 #define LOAD {LOADIN LOADOUT}
9 uLong uDate;
10 uDate = (uLong)(ulDosDate>>16);
11 ptm->tm_mday = (uInt)(uDate&0x1f) ;
12 ptm->tm_mon = (uInt)((((uDate)&0x1E0)/0x20)-1) ;
13 ptm->tm_year = (uInt)(((uDate&0x0FE00)/0x0200)+1980) ;
14
15 format_docs/compression/zip.txt
16 0031 VSAM Index IMBED 1 byte flag
17
18 format_docs/pdb/pml.txt
19 Very long words like anti\-dis\-establish\-ment\-arian\-ism may benefit from
20 ¤ ¤ \a164 Currency sign
21 - \UE047 LATIN SMALL LIGATURE UE
22 - \UE048 LATIN SMALL LIGATURE UE WITH MACRON
23
24 format_docs/pdb/ztxt.txt
25 correct, lest firey death rain down upon your program.
26
27 manual/news.rst
28 of articles that appear in *todays* paper. While more complex than simply using
29
30 manual/build.py
31 run_cmd(['makeindex', '-s', 'python.ist', 'calibre.idx'])
32
33 setup/build.py
34 from setup.build_environment import NMAKE, win_cc, win_inc, win_ld, win_lib
35 cc=cc, cxx=cxx, cflags=cflags, ldflags=ldflags, linker=linker, make=NMAKE if iswindows else 'make', lib_prefix=lib_prefix,
36 sinc = [inf, src]
37 sinc = [inf + src]
38 cmd = [compiler] + env.cflags + cflags + ext.cflags + einc + sinc + oinc
39
40 setup/build_environment.py
41 NMAKE = RC = msvc = MT = win_inc = win_lib = win_cc = win_ld = None
42 NMAKE = 'nmake.exe'
43
44 src/calibre/customize/builtins.py
45 description = 'Bei uns finden Sie: Tausende deutschsprachige e-books; Alle e-books ohne hartes DRM; PDF, ePub und Mobipocket Format; Sofortige Verfügbarkeit - 24 Stunden am Tag; Günstige Preise; e-books für viele Lesegeräte, PC, Mac und Smartphones; Viele Gratis e-books' # noqa: E501
46 description = 'E-booki wolne od DRM, 3 formaty w pakiecie, wysyłanie na Kindle'
47 description = 'Empik to marka o unikalnym dziedzictwie i legendarne miejsce, dawne “okno na świat”. Jest obecna w polskim krajobrazie kulturalnym od 60 lat (wcześniej jako Kluby Międzynarodowej Prasy i Książki).' # noqa: E501
48
49 src/calibre/db/cli/cmd_export.py
50 switch = '--dont-' + pref.replace('_', '-')
51
52 src/calibre/db/write.py
53 if not lc or lc in ans or lc in ('und', 'zxx', 'mis', 'mul'):
54
55 src/calibre/devices/cybook/driver.py
56 DELETE_EXTS = ['.mbp', '.dat', '.bin', '_6090.t2b', '.thn']
57 with open(f'{filepath}.thn', 'wb') as thnfile:
58
59 src/calibre/devices/mtp/unix/upstream/music-players.h
60 // From Ser <[email protected]>
61
62 src/calibre/devices/teclast/driver.py
63 VENDOR_NAME = ['TECLAST', 'IMAGIN', 'RK28XX', 'PER3274B', 'BEBOOK',
64 VENDOR_NAME = ['TECLAST', 'IMAGIN', 'LASER-', 'LASER', '']
65
66 src/calibre/library/database2.py
67 if not lc or lc in final_languages or lc in ('und', 'zxx', 'mis',
68
69 src/calibre/db/tests/fts.py
70 self.ae(conn.term_row_counts(), {'a': 1, 'connect': 1, 'simplist': 1})
71 self.ae(conn.search('simplist'), [('a >simplistic< connection',),])
72
73 src/calibre/ebooks/hyphenate.py
74 Ned Batchelder, July 2007.
75
76 src/calibre/ebooks/conversion/plugins/rtf_input.py
77 'tripple': 'double',
78
79 src/calibre/ebooks/conversion/preprocess.py
80 # 'ᵫ': 'ue',
81 "(i|a)ty|(it)?ies|ive|gence|istic(ally)?|(e|a)nce|m?ents?|ism|ated|"
82
83 src/calibre/ebooks/lrf/input.py
84 # ans['line-height'] = '%fpt'%lh
85
86 src/calibre/ebooks/lrf/pylrs/pylrs.py
87 ot = self.delegates[0].delegates[0].delegates[0].title
88 self.delegates[0].delegates[0].delegates[0].title = (title, ot[1])
89 ot = self.delegates[0].delegates[0].delegates[0].author
90 self.delegates[0].delegates[0].delegates[0].author = (author, ot[1])
91
92 src/calibre/ebooks/metadata/book/base.py
93 ot, st = map(frozenset, (lotags, lstags))
94 for t in st.intersection(ot):
95 self.tags += [t for t in other.tags if t.lower() in ot-st]
96 ot, st = map(frozenset, (lotags, lstags))
97 for t in st.intersection(ot):
98 self_tags += [t for t in other_tags if t.lower() in ot-st]
99
100 src/calibre/ebooks/metadata/sources/amazon.py
101 1: ['jän', 'januar'],
102 2: ['februar'],
103 6: ['juni'],
104 7: ['juli'],
105 10: ['okt', 'oktober'],
106 12: ['dez', 'dezember']
107 10: ['oktober'],
108 text()="Détails sur le produit" or \
109 r'([0-9.,]+) ?(out of|von|van|su|étoiles sur|つ星のうち|de un máximo de|de|av) '
110 1: ['januari'], 2: ['februari'], 3: ['maart'], 5: ['mei'], 6: ['juni'], 7: ['juli'], 8: ['augustus'], 10: ['oktober'],
111 ('Referer', self.referrer_for_domain()),
112 br.set_current_header('Referer', qurl)
113 br.set_current_header('Referer', self.referrer_for_domain(self.domain))
114
115 src/calibre/ebooks/metadata/sources/edelweiss.py
116 ('Referer', 'https://www.edelweiss.plus/'),
117
118 src/calibre/ebooks/mobi/reader/index.py
119 print('WARNING: Invalid INDX record')
120
121 src/calibre/ebooks/oeb/polish/utils.py
122 prefs = css_parser.ser.prefs
123
124 src/calibre/ebooks/rtf2xml/process_tokens.py
125 'ul' : ('ci', 'underlined<continous', self.two_part_func),
126 'headerr' : ('hf', 'head-right', self.default_func),
127 1058 : 'Ukranian',
128 1024 : 'Unkown',
129 255 : 'Unkown',
130 # 'falt' : ('un', 'unknown___', self.default_func),
131
132 src/calibre/ebooks/textile/functions.py
133 clas = r'(?:\([^)]+\))'
134 c = r'(?:{})*'.format('|'.join([clas, styl, lnge, hlgn]))
135 tre = '|'.join(self.btag)
136 tre = '|'.join(self.btag_lite)
137 pattern = fr'^({tre})({self.a}{self.c})\.(\.?)(?::(\S+))? (.*)$'
138
139 src/calibre/utils/podofo/doc.cpp
140 if (e.GetCode() != PdfErrorCode::Flate) throw e;
141 StringStreamDevice ouput(s);
142 stream->CopyTo(ouput);
143
144 src/calibre/gui2/pyqt6_compat.py
145 QSinglePointEvent.globalY = lambda self: self.globalPosition().toPoint().y()
146
147 src/calibre/gui2/preferences/tweaks.py
148 for varn, val in iteritems(tweak.custom_values):
149 tt += f'{varn} = {val!r}\n\n'
150
151 src/calibre/gui2/store/stores/ebookshoppe_uk_plugin.py
152 br.addheaders = [('Referer', 'http://www.ebookshoppe.com/')]
153
154 src/calibre/gui2/store/stores/bubok_portugal_plugin.py
155 src/calibre/gui2/store/stores/bubok_publishing_plugin.py
156 author = ''.join(data.xpath('.//div[@class="autor"]/text()'))
157
158 src/calibre/gui2/store/stores/rw2010_plugin.py
159 author = ''.join(idata.xpath('//div[@class="boxb"]//h3[text()="Autor: "]/span/text()'))
160
161 src/calibre/gui2/tweak_book/char_select.py
162 (_('Vai'), (0xA500, 0xA63F)),
163
164 src/calibre/utils/bibtex.py
165 '\u222e': '$\\oint$',
166
167 src/calibre/utils/fonts/sfnt/loca.py
168 # means that if the ith entry is zero, the i-1 glyph is not present.
169
170 src/calibre/utils/localization.py
171 for x in ('zxx', 'mis', 'mul'):
172
173 src/calibre/utils/lzx/mspack.h
174 * @endcode
175
176 src/calibre/utils/msdes/d3des.h
177 unsigned long blok[2];
178
179 src/calibre/utils/open_with/osx.py
180 'caf': 'com.apple.coreaudio-format',
181 'snd': 'public.ulaw-audio',
182
183 src/calibre/utils/windows/wintoastlib.cpp
184 ComPtr<IXmlNodeSerializer> ser;
185 HRESULT hr = xmlDocument.As<IXmlNodeSerializer>(&ser);
186 hr = ser->GetXml(&xml);
187
188 src/calibre/web/feeds/news.py
189 #: filter_regexps = [r'ads\.doubleclick\.net']
190 #: will remove all URLs that have `ads.doubleclick.net` in them.
191
192 src/calibre/web/site_parsers/natgeo.py
193 sc = edg['schma']
194
195 src/calibre/web/site_parsers/nytimes.py
196 if b.get('leadIn'):
197 a('<p>' + b['leadIn'] + '</p>')
198
199 src/odf/attrconverters.py
200 ((TEXTNS,'annote'), None): cnv_string,
201 ((SMILNS,'dur'), None): cnv_string,
202
203 src/odf/grammar.py
204 (TEXTNS,'annote'),
205 (SMILNS,'dur'),
206
207 ##
208 # per-file-ignores
209
210 src/calibre/ebooks/metadata/topaz.py # codespell:file-ignore ths
211 ths = io.StringIO()
212 ths.write(self.data[:5])
213 ths.write('c')
214 ths.write(self.encode_vwi(len(tag)))
215 ths.write(tag)
216 ths.write(self.encode_vwi(len(self.topaz_headers[tag]['blocks'])))
217 ths.write(self.encode_vwi(b['offset']))
218 ths.write(self.encode_vwi(b['offset'] + delta))
219 ths.write(self.encode_vwi(updated_md_len))
220 ths.write(self.encode_vwi(b['len_uncomp']))
221 ths.write(self.encode_vwi(b['len_comp']))
222 ths.write(self.encode_vwi(0))
223 return ths.getvalue().encode('iso-8859-1')
224
225 src/calibre/ebooks/rtf*/** # codespell:file-ignore pich,pard,tripple
226 repl = '\n\n{\\*\\shppict{\\pict\\jpegblip\\picw%i\\pich%i \n%s\n}}\n\n' % (width, height, data) # noqa: UP031
227 block_start = r'{\par\pard\hyphpar '
228 text += r'\par\pard\plain\hyphpar}'
229 text += rf'{{\par\pard\hyphpar {txt2rtf(elem.tail)}}}'
230 'bdr-trippl': 'tripple',
231 elif 'tripple-border' in border_style_list:
232 new_border_dict[att] = 'tripple'
233 'FILLIN' : (self.__default_inst_func, 'fill-in'),
234 {\lang1024 1}}}{\lang1024 \par }\pard\plain
235 \f4\lang1033\cgrid }}\pard\plain
236 'bdr-trippl': 'tripple',
237 I have found a \\pard while I am collecting tokens. I want to reset
238 if a \\pard occurs in a paragraph, I want to ignore it. (I believe)
239 self.__write_pic_obj.write('{\\colortbl\\red255\\green255\\blue255;} \n\\pard \n')
240 'pard' : ('pf', 'par-def___', self.default_func),
241 that describe the section. When I reach a \\pard, I know I an stop collecting
242 before \\pard. This should indicate older RTF. Reset the state
243 'bdr-trippl': 'tripple',
244
245 src/pyj/complete.pyj # codespell:file-ignore inpt
246 inpt = E.input(type=input_type, name=name, title=tooltip or '', placeholder=placeholder or '', autocomplete='off')
247 self.input_id = ensure_id(inpt)
248 inpt.addEventListener('keydown', self.onkeydown)
249 inpt.addEventListener('input', self.oninput)
250 self.completion_popup.add_associated_widget(inpt)
251 parent.appendChild(inpt)