Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 29, 2024
1 parent d3fdad8 commit 4c73f80
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions hera_opm/data/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
"""Init file for data directory."""

DATA_PATH = __path__[0]
1 change: 1 addition & 0 deletions hera_opm/tests/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Init file for tests."""

import os

BAD_CONFIG_PATH = os.path.join(__path__[0], "bad_configs")
1 change: 1 addition & 0 deletions hera_opm/tests/test_utils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests for utils.py"""

import pytest
import hera_opm.utils as utils

Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Script for installing hera_opm."""

import os
from glob import glob

Expand All @@ -22,7 +23,7 @@ def package_files(package_dir, subdirectory):
"""
paths = []
directory = os.path.join(package_dir, subdirectory)
for (path, directories, filenames) in os.walk(directory):
for path, directories, filenames in os.walk(directory):
for filename in filenames:
path = path.replace(package_dir + "/", "")
paths.append(os.path.join(path, filename))
Expand Down

0 comments on commit 4c73f80

Please sign in to comment.