-
Notifications
You must be signed in to change notification settings - Fork 37
/
Copy pathCPPLINT.cfg
35 lines (33 loc) · 1.83 KB
/
CPPLINT.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#=========================================================================================
# Athena++ astrophysical MHD code
# Copyright(C) 2014 James M. Stone <[email protected]> and other code contributors
# Licensed under the 3-clause BSD License, see LICENSE file for details
#=========================================================================================
# (C) (or copyright) 2020. Triad National Security, LLC. All rights reserved.
#
# This program was produced under U.S. Government contract 89233218CNA000001 for Los
# Alamos National Laboratory (LANL), which is operated by Triad National Security, LLC
# for the U.S. Department of Energy/National Nuclear Security Administration. All rights
# in the program are reserved by Triad National Security, LLC, and the U.S. Department
# of Energy/National Nuclear Security Administration. The Government is granted for
# itself and others acting on its behalf a nonexclusive, paid-up, irrevocable worldwide
# license in this material to reproduce, prepare derivative works, distribute copies to
# the public, perform publicly and display publicly, and to permit others to do so.
#=========================================================================================
# Don't search for additional CPPLINT.cfg in parent directories.
set noparent
headers=hpp
linelength=90
# Don't use 'SRC_' as the cpp header guard prefix
root=./src/
extensions=hpp,cpp
# Disable and enable specific categories (filters evaluate from left to right)
filter=+build/include_alpha # (only category that is disabled by default)
# As of 2018-12-12:
filter=-readability/fn_size # 3 errors
filter=-runtime/references # 772 errors
filter=-whitespace/comma # 6027 errors
filter=-whitespace/comments # 881 errors
filter=-whitespace/operators # 5240 errors
filter=-whitespace/parens # 413 errors
filter=-build/namespaces