Skip to content

Commit 4416567

Browse files
committed
fix ruff for setup.py
1 parent 3ecbd98 commit 4416567

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

setup.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@
22

33
# To use a consistent encoding
44
from codecs import open
5-
from os import path
5+
from pathlib import Path
66

77
import setuptools
88

99
import versioneer
1010

11-
here = path.abspath(path.dirname(__file__))
11+
here = Path.abspath(Path.dirname(__file__))
1212

1313
# Get the long description from the README file
14-
with open(path.join(here, "README.md"), encoding="utf-8") as f:
14+
with open(Path.join(here, "README.md"), encoding="utf-8") as f:
1515
long_description = f.read()
1616

17-
with open(path.join(here, "requirements.txt")) as f:
17+
with open(Path.join(here, "requirements.txt")) as f:
1818
requirements = f.read().splitlines()
1919

2020
setuptools.setup(

0 commit comments

Comments
 (0)