Skip to content

Commit e135493

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent e682518 commit e135493

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# -*- coding: utf-8 -*-
21
"""Setup module."""
2+
33
import setuptools
44

55
if __name__ == "__main__":

src/pydab/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@
77
def config_logger():
88
"""Configure logger using the config file."""
99
path = pathlib.Path(__file__).absolute().parent.joinpath("logging.yaml")
10-
with open(path, "r") as f:
10+
with open(path) as f:
1111
logging.config.dictConfig(yaml.safe_load(f.read()))

0 commit comments

Comments
 (0)