You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In zulint/custom_rules.py, theoretically exclude_files_in can be passed as a parameter when creating a RuleList, but it's always set as "\\" no matter what string is passed as a parameter. See code block below.
I'm not sure what the intention was as exclude_files_in is not listed in the documentation comment "Rule help" as a way to exclude files. There's only one current instance of it's use in zulip/zulip, here.
classRuleList:
"""Defines and runs custom linting rules for the specified language."""def__init__(
self,
langs: Sequence[str],
rules: Sequence[Rule],
exclude_files_in: Optional[str] =None,
) ->None:
self.langs=langsself.rules=rules# Exclude the files in this folder from rulesself.exclude_files_in="\\"self.verbose=False
The text was updated successfully, but these errors were encountered:
In
zulint/custom_rules.py
, theoreticallyexclude_files_in
can be passed as a parameter when creating aRuleList
, but it's always set as"\\"
no matter what string is passed as a parameter. See code block below.I'm not sure what the intention was as
exclude_files_in
is not listed in the documentation comment "Rule help" as a way to exclude files. There's only one current instance of it's use in zulip/zulip, here.The text was updated successfully, but these errors were encountered: