Skip to content

Commit d66b516

Browse files
howieleungCopilotl0lawrence
authored
Fix pylintrc to exclude agents generated code (#41612)
* Fix pylintrc to exclude agents generated code * Update pylintrc Co-authored-by: Copilot <[email protected]> * Resolved * Update eng/pylintrc * Update pylintrc --------- Co-authored-by: Copilot <[email protected]> Co-authored-by: Libba Lawrence <[email protected]>
1 parent 51b4670 commit d66b516

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

eng/pylintrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ reports=no
66
ignore-paths=
77
azure\\mixedreality\\remoterendering\\_api_version.py,
88
azure/mixedreality/remoterendering/_api_version.py,
9-
(?:.*[/\\]|^)projects/(models/_models.py|_model_base.py|operations/_operations.py|aio/operations/_operations.py)$,
9+
(?:.*[/\\]|^).*[/\\](projects|agents)[/\\](models/_models.py|_model_base.py|operations/_operations.py|aio/operations/_operations.py)$,
1010
# Exclude any path that contains the following directory names
1111
(?:.*[/\\]|^)(?:_vendor|_generated|_restclient|samples|examples|test|tests|doc|\.tox)(?:[/\\]|$)
1212

pylintrc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ reports=no
77
ignore-paths=
88
azure\\mixedreality\\remoterendering\\_api_version.py,
99
azure/mixedreality/remoterendering/_api_version.py,
10-
(?:.*[/\\]|^)projects/(models/_models.py|_model_base.py|operations/_operations.py|aio/operations/_operations.py)$,
11-
(?:.*[/\\]|^)agents/(models/_models.py|_model_base.py|operations/_operations.py|aio/operations/_operations.py)$,
10+
(?:.*[/\\]|^).*[/\\](projects|agents)[/\\](models/_models.py|_model_base.py|operations/_operations.py|aio/operations/_operations.py)$,
1211
# Exclude any path that contains the following directory names
1312
(?:.*[/\\]|^)(?:_vendor|_generated|_restclient|samples|examples|test|tests|doc|\.tox)(?:[/\\]|$)
1413

0 commit comments

Comments
 (0)