Skip to content
Snippets Groups Projects
Commit 9ecb0f41 authored by Mathieu Courtois's avatar Mathieu Courtois
Browse files

keep C4014 only on main branch

parent 334801b4
No related branches found
No related tags found
No related merge requests found
......@@ -9,6 +9,7 @@ from glob import glob
from .. import common_checkers as COMM
from ..base_checkers import (
CheckContext,
DirnameCat,
FileContentCat,
FilenameCat,
......@@ -194,6 +195,7 @@ class ObsoleteSdj(FileContentCat, TextMsg):
"""Obsolete use of '.sdj.XXX'"""
id = "C4014"
apply_ctxt = CheckContext(reponame=["src"], branch="main")
search = search_msg(r"(?P<main>\w+\.sdj(?:\.\w+)?)", ignore_case=False)
class ObsoleteGetvectjev(FileContentCat, TextMsg):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment