Skip to content

Commit c35c3d5

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

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

setup.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
"""Setup module."""
32
import setuptools
43

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)