From f9b132c7e6a7d86481573b281eb3142f691ef8ea Mon Sep 17 00:00:00 2001 From: DeepSource Bot Date: Tue, 1 Dec 2020 18:00:05 +0000 Subject: [PATCH] Update .deepsource.toml --- .deepsource.toml | 185 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 185 insertions(+) diff --git a/.deepsource.toml b/.deepsource.toml index d985f45ef5bba..436499799e73c 100644 --- a/.deepsource.toml +++ b/.deepsource.toml @@ -1,5 +1,190 @@ version = 1 +test_patterns = ["*/tests/**"] + +exclude_patterns = [ + "browser/components/newtab/vendor/**", + "browser/components/pocket/content/panels/js/vendor/**", + "browser/components/translation/cld2/**", + "browser/extensions/formautofill/content/third-party/**", + "browser/extensions/formautofill/test/fixtures/third_party/**", + "browser/extensions/screenshots/build/raven.js", + "devtools/client/debugger/flow-typed/npm/**", + "devtools/client/inspector/markup/test/lib_*", + "devtools/client/jsonview/lib/require.js", + "devtools/client/shared/demangle.js", + "devtools/client/shared/build/babel.js", + "devtools/client/shared/source-map/**", + "devtools/client/shared/sourceeditor/codemirror/**", + "devtools/client/shared/sourceeditor/test/cm_mode_ruby.js", + "devtools/client/shared/sourceeditor/test/codemirror/**", + "devtools/client/shared/vendor/**", + "devtools/shared/acorn/**", + "devtools/shared/heapsnapshot/CoreDump.pb.cc", + "devtools/shared/heapsnapshot/CoreDump.pb.h", + "devtools/shared/jsbeautify/**", + "devtools/shared/node-properties/**", + "devtools/shared/qrcode/decoder/**", + "devtools/shared/qrcode/encoder/**", + "devtools/shared/sprintfjs/**", + "devtools/shared/storage/vendor/**", + "dom/canvas/test/webgl-conf/checkout/**", + "dom/imptests/**", + "dom/media/gmp/rlz/**", + "dom/media/gmp/widevine-adapter/content_decryption_module_export.h", + "dom/media/gmp/widevine-adapter/content_decryption_module_ext.h", + "dom/media/gmp/widevine-adapter/content_decryption_module.h", + "dom/media/gmp/widevine-adapter/content_decryption_module_proxy.h", + "dom/media/platforms/ffmpeg/ffmpeg57/**", + "dom/media/platforms/ffmpeg/ffmpeg58/**", + "dom/media/platforms/ffmpeg/libav53/**", + "dom/media/platforms/ffmpeg/libav54/**", + "dom/media/platforms/ffmpeg/libav55/**", + "dom/media/webaudio/test/blink/**", + "dom/media/webrtc/transport/third_party/**", + "dom/media/webspeech/recognition/endpointer.cc", + "dom/media/webspeech/recognition/endpointer.h", + "dom/media/webspeech/recognition/energy_endpointer.cc", + "dom/media/webspeech/recognition/energy_endpointer.h", + "dom/media/webspeech/recognition/energy_endpointer_params.cc", + "dom/media/webspeech/recognition/energy_endpointer_params.h", + "dom/media/webvtt/vtt.jsm", + "dom/tests/mochitest/ajax/**", + "dom/tests/mochitest/dom-level1-core/**", + "dom/tests/mochitest/dom-level2-core/**", + "dom/tests/mochitest/dom-level2-html/**", + "dom/u2f/tests/pkijs/**", + "dom/webauthn/cbor-cpp/**", + "dom/webauthn/tests/pkijs/**", + "editor/libeditor/tests/browserscope/lib/richtext/**", + "editor/libeditor/tests/browserscope/lib/richtext2/**", + "extensions/spellcheck/hunspell/src/**", + "gfx/angle/checkout/**", + "gfx/cairo/**", + "gfx/graphite2/**", + "gfx/harfbuzz/**", + "gfx/ots/**", + "gfx/qcms/**", + "gfx/sfntly/**", + "gfx/skia/**", + "gfx/vr/service/openvr/**", + "gfx/vr/service/openvr/headers/openvr.h", + "gfx/vr/service/openvr/src/README", + "gfx/vr/service/openvr/src/dirtools_public.cpp", + "gfx/vr/service/openvr/src/dirtools_public.h", + "gfx/vr/service/openvr/src/envvartools_public.cpp", + "gfx/vr/service/openvr/src/envvartools_public.h", + "gfx/vr/service/openvr/src/hmderrors_public.cpp", + "gfx/vr/service/openvr/src/hmderrors_public.h", + "gfx/vr/service/openvr/src/ivrclientcore.h", + "gfx/vr/service/openvr/src/openvr_api_public.cpp", + "gfx/vr/service/openvr/src/pathtools_public.cpp", + "gfx/vr/service/openvr/src/pathtools_public.h", + "gfx/vr/service/openvr/src/sharedlibtools_public.cpp", + "gfx/vr/service/openvr/src/sharedlibtools_public.h", + "gfx/vr/service/openvr/src/strtools_public.cpp", + "gfx/vr/service/openvr/src/strtools_public.h", + "gfx/vr/service/openvr/src/vrpathregistry_public.cpp", + "gfx/vr/service/openvr/src/vrpathregistry_public.h", + "gfx/wr/**", + "gfx/ycbcr/**", + "intl/icu/**", + "ipc/chromium/src/third_party/**", + "js/src/ctypes/libffi/**", + "js/src/dtoa.c", + "js/src/editline/**", + "js/src/jit/arm64/vixl/**", + "js/src/octane/**", + "js/src/vtune/disable_warnings.h", + "js/src/vtune/ittnotify_config.h", + "js/src/vtune/ittnotify.h", + "js/src/vtune/ittnotify_static.c", + "js/src/vtune/ittnotify_static.h", + "js/src/vtune/ittnotify_types.h", + "js/src/vtune/jitprofiling.c", + "js/src/vtune/jitprofiling.h", + "js/src/vtune/legacy/**", + "js/src/zydis/**", + "layout/docs/css-grid-3/**", + "media/ffvpx/**", + "media/kiss_fft/**", + "media/libaom/**", + "media/libcubeb/**", + "media/libdav1d/**", + "media/libjpeg/**", + "media/libmkv/**", + "media/libnestegg/**", + "media/libogg/**", + "media/libopus/**", + "media/libpng/**", + "media/libsoundtouch/**", + "media/libspeex_resampler/**", + "media/libtheora/**", + "media/libtremor/**", + "media/libvorbis/**", + "media/libvpx/**", + "media/libwebp/**", + "media/libyuv/**", + "media/mp4parse-rust/**", + "media/openmax_dl/**", + "media/openmax_il/**", + "media/webrtc/signaling/src/sdp/sipcc/**", + "media/webrtc/trunk/**", + "mfbt/double-conversion/double-conversion/**", + "mfbt/lz4/.*", + "mobile/android/geckoview/src/thirdparty/**", + "modules/brotli/**", + "modules/fdlibm/**", + "modules/freetype2/**", + "modules/woff2/**", + "modules/xz-embedded/**", + "modules/zlib/**", + "mozglue/misc/decimal/**", + "netwerk/dns/nsIDNKitInterface.h", + "netwerk/sctp/src/**", + "netwerk/srtp/src/**", + "nsprpub/**", + "other-licenses/**", + "parser/expat/**", + "remote/test/browser/chrome-remote-interface.js", + "remote/test/puppeteer/**", + "security/nss/**", + "security/sandbox/chromium/**", + "security/sandbox/chromium-shim/**", + "testing/gtest/gmock/**", + "testing/gtest/gtest/**", + "testing/mochitest/MochiKit/**", + "testing/mochitest/pywebsocket3/**", + "testing/mochitest/tests/MochiKit-1.4.2/**", + "testing/modules/ajv-4.1.1.js", + "testing/modules/sinon-7.2.7.js", + "testing/mozbase/mozproxy/mozproxy/backends/mitm/scripts/catapult/**", + "testing/talos/talos/tests/dromaeo/**", + "testing/talos/talos/tests/kraken/**", + "testing/talos/talos/tests/v8_7/**", + "testing/web-platform/tests/resources/webidl2/**", + "testing/web-platform/tests/tools/third_party/**", + "testing/xpcshell/dns-packet/**", + "testing/xpcshell/node-ip/**", + "testing/xpcshell/node-http2/**", + "third_party/**", + "toolkit/components/certviewer/content/vendor/**", + "toolkit/components/jsoncpp/**", + "toolkit/components/normandy/vendor/**", + "toolkit/components/protobuf/**", + "toolkit/components/url-classifier/chromium/**", + "toolkit/components/utils/mozjexl.js", + "toolkit/components/viaduct/fetch_msg_types.pb.cc", + "toolkit/components/viaduct/fetch_msg_types.pb.h", + "toolkit/crashreporter/breakpad-client/**", + "toolkit/crashreporter/google-breakpad/**", + "tools/fuzzing/libfuzzer/**", + "tools/profiler/core/vtune/**", + "xpcom/build/mach_override.c", + "xpcom/build/mach_override.h", + "xpcom/io/crc32c.c" +] + [[analyzers]] name = "python" enabled = true