Skip to content

Commit c7e355f

Browse files
Linting
1 parent 12de339 commit c7e355f

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

pylossless/pipeline.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -528,12 +528,14 @@ def _repr_html_(self):
528528

529529
@property
530530
def config_fname(self):
531-
warn(f'config_fname is deprecated and will be removed from future versions.', DeprecationWarning)
531+
warn('config_fname is deprecated and will be removed from future versions.',
532+
DeprecationWarning)
532533
return self.config_path
533534

534535
@config_fname.setter
535536
def config_fname(self, config_path):
536-
warn(f'config_fname is deprecated and will be removed from future versions.', DeprecationWarning)
537+
warn('config_fname is deprecated and will be removed from future versions.',
538+
DeprecationWarning)
537539
self.config_path = config_path
538540

539541
def load_config(self):

pylossless/tests/test_pipeline.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ def test_find_breaks(logging):
4747

4848

4949
def test_deprecation():
50+
"""Test the config_name property added for deprecation."""
5051
config = ll.config.Config()
5152
config.load_default()
5253
pipeline = ll.LosslessPipeline(config=config)

0 commit comments

Comments
 (0)