File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## 2.0.3
4+ - Make glob patterns recursive
5+
36## 2.0.2
47- Fixed version mismatch
58
Original file line number Diff line number Diff line change @@ -104,6 +104,6 @@ def load_configuration(linter: PyLinter) -> None:
104104 for pattern , rules_str in config .items ():
105105 if pattern .startswith ("\n " ):
106106 pattern = pattern [1 :]
107- files = [Path (file ).absolute () for file in glob .glob (pattern )]
107+ files = [Path (file ).absolute () for file in glob .glob (pattern , recursive = True )]
108108 rules = [rule .strip () for rule in rules_str .split ("," )]
109109 _augment_add_message (linter , rules = rules , files = files )
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44
55[project ]
66name = " pylint-per-file-ignores"
7- version = " 2.0.2 "
7+ version = " 2.0.3 "
88description = " A pylint plugin to ignore error codes per file."
99authors = [
1010 { name = " Christopher Pickering" , email = " christopher@going.bg" },
You can’t perform that action at this time.
0 commit comments