28
28
CPP_CM = os.path.join('src','common_cpp')
29
29
LEGACY = os.path.join('src','LEGACY')
30
MAP = os.path.join('src', 'map')
30
31
TST = os.path.join('tests', 'cpp_unit')
32
33
exceptions[os.path.join(CPP_CM, 'Simulation',
73
74
'explicit conversion is okay from ROOT to ThreeVectpr', 'rogers')
76
exceptions[os.path.join(TST, 'Maths', 'PolynomialVectorTest.cc')] = [
77
(' } catch (Squeal squee) {}',
78
'"catch" is a keyword like "for" and "if", not a function', 'lane')
81
exceptions[os.path.join(TST, 'Maths', 'VectorTest.cc')] = [
82
(' } catch (Squeal squeal) {}',
83
'"catch" is a keyword like "for" and "if", not a function', 'lane')
86
exceptions[os.path.join(TST, 'Optics', 'PhaseSpaceVectorTest.cc')] = [
87
(' } catch (Squeal squeal) {}',
88
'"catch" is a keyword like "for" and "if", not a function', 'lane')
91
exceptions[os.path.join(TST, 'Optics', 'CovarianceMatrixTest.cc')] = [
92
(' } catch (Squeal squeal) {}',
93
'"catch" is a keyword like "for" and "if", not a function', 'lane')
96
77
exceptions[os.path.join(CPP_CM, 'JsonCppStreamer','ORStream.hh')] = [
97
78
('template<> orstream& orstream::operator<< <short> (short& d) {',
98
79
'doesnt like the necessary specialisation', 'richards'),
182
exceptions[os.path.join(TST, 'Maths', 'PolynomialMapTest.cc')] = [
183
(' } catch (Squeal squeal) {}',
184
'"catch" is a keyword like "for" and "if", not a function', 'lane'),
187
exceptions[os.path.join(TST, 'Optics',
188
'LinearApproximationOpticsModelTest.cc')] = [
189
(' } catch (Squeal squeal) {',
190
'"catch" is a keyword like "for" and "if", not a function', 'lane'),
193
exceptions[os.path.join(TST, 'Optics',
194
'PolynomialOpticsModelTest.cc')] = [
195
(' } catch (Squeal squeal) {',
196
'"catch" is a keyword like "for" and "if", not a function', 'lane'),
197
(' } catch (Squeal squeal) {',
198
'"catch" is a keyword like "for" and "if", not a function', 'lane'),
201
exceptions[os.path.join(TST, 'Recon/Global',
202
'TrackPointTest.cc')] = [
203
(' } catch (Squeal squeal) {',
204
'"catch" is a keyword like "for" and "if", not a function', 'lane'),
207
163
exceptions[os.path.join(CPP_CM,
208
164
'JsonCppProcessors',
183
exceptions[os.path.join(CPP_CM,
185
'PrimitivesProcessors.hh')] = [
186
('typedef unsigned long long uint64;',
187
'This is setting up the uint64 that cpplint wants',
227
191
exceptions[os.path.join('src', 'input', 'InputCppDAQOnlineData',
228
192
'InputCppDAQOnlineData.cc')] = [
229
193
(' _sleep_time.tv_sec = static_cast<long>(delay_time);',