File tree 2 files changed +8
-6
lines changed
2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ select = [
15
15
" F" , # pyflakes
16
16
" FA" , # flake8-future-annotations
17
17
" FLY" , # flynt
18
+ " G" , # flake8-logging-format
18
19
" I" , # isort
19
20
" N" , # pep8-naming
20
21
" PERF" , # perflint
Original file line number Diff line number Diff line change @@ -1066,20 +1066,21 @@ def load_environment_variables() -> None:
1066
1066
env_conf_file = dbs_site_config
1067
1067
else :
1068
1068
logging .info (
1069
- "No environment variables configured. "
1070
- f"Configure in { dbs_site_config } or { dbs_user_config } ."
1069
+ "No environment variables configured. Configure in %s or %s." ,
1070
+ dbs_site_config ,
1071
+ dbs_user_config ,
1071
1072
)
1072
1073
return
1073
1074
1074
- logging .info (f "Reading environment variables from { env_conf_file } ." )
1075
+ logging .info ("Reading environment variables from %s." , env_conf_file )
1075
1076
if env_conf_file == dbs_site_config :
1076
- logging .info (f "You can override settings in { dbs_user_config } ." )
1077
+ logging .info ("You can override settings in %s." , dbs_user_config )
1077
1078
elif dbs_site_config .is_file ():
1078
- logging .info (f "Overriding { dbs_site_config } ." )
1079
+ logging .info ("Overriding %s." , dbs_site_config )
1079
1080
1080
1081
env_config = env_conf_file .read_text (encoding = "utf-8" )
1081
1082
for key , value in tomlkit .parse (env_config ).get ("env" , {}).items ():
1082
- logging .debug (f "Setting { key } in environment." )
1083
+ logging .debug ("Setting %s in environment." , key )
1083
1084
os .environ [key ] = value
1084
1085
1085
1086
You can’t perform that action at this time.
0 commit comments