We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97e81e5 commit b8c36feCopy full SHA for b8c36fe
mutmut/__main__.py
@@ -947,16 +947,16 @@ def should_ignore_for_mutation(self, path):
947
948
949
def config_reader():
950
- path=Path("pyproject.toml")
+ path = Path('pyproject.toml')
951
if path.exists():
952
if sys.version_info >= (3, 11):
953
from tomllib import loads
954
else:
955
from toml import loads
956
- data = loads(path.read_text("utf-8"))
+ data = loads(path.read_text('utf-8'))
957
958
try:
959
- config = data["tool"]["mutmut"]
+ config = data['tool']['mutmut']
960
except KeyError:
961
pass
962
@@ -986,7 +986,6 @@ def s(key, default):
986
987
@lru_cache()
988
def read_config():
989
-
990
s = config_reader()
991
992
mutmut.config = Config(
0 commit comments