Skip to content

Commit 2380115

Browse files
XuehaiPanpytorchmergebot
authored andcommitted
[BE] use pathlib.Path instead of os.path.* in setup.py (pytorch#156742)
Resolves: - pytorch#155998 (comment) Pull Request resolved: pytorch#156742 Approved by: https://github.com/malfet
1 parent 90b973a commit 2380115

File tree

2 files changed

+266
-258
lines changed

2 files changed

+266
-258
lines changed

.lintrunner.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ is_formatter = true
122122
[[linter]]
123123
code = 'MYPY'
124124
include_patterns = [
125+
'setup.py',
125126
'torch/**/*.py',
126127
'torch/**/*.pyi',
127128
'caffe2/**/*.py',

0 commit comments

Comments
 (0)