See https://github.com/pre-commit/pre-commit-hooks?tab=readme-ov-file#trailing-whitespace
29 lines
911 B
Plaintext
29 lines
911 B
Plaintext
#############################################################################
|
|
# Ignore system libraries.
|
|
src:*/usr/*
|
|
|
|
#############################################################################
|
|
# Mostly hash functions where integer overflow is OK.
|
|
src:*/mbgl/util/hash.hpp
|
|
|
|
#############################################################################
|
|
# vendor libs
|
|
|
|
# unsigned integer overflow: unsigned interger index in for loop
|
|
src:*/vendor/earcut.hpp/include/mapbox/earcut.hpp
|
|
|
|
# unsigned integer overflow: hash function: str_hash
|
|
src:*/vendor/eternal/*/eternal.hpp
|
|
|
|
# unsigned integer overflow
|
|
src:*/vendor/*/rapidjson/reader.h
|
|
|
|
# division by zero: ill usage of test data in 'render-tests/filter/in', latitude shouldn't be +/-90
|
|
src:*/vendor/*/geojsonvt/convert.hpp
|
|
|
|
# Boost bug: Implicit conversion
|
|
src:*/include/boost/locale/utf.hpp
|
|
|
|
# Boost bug: unsigned integer overflow
|
|
src:*/include/boost/crc.hpp
|