File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ select = [
1515 " F" , # pyflakes
1616 " FA" , # flake8-future-annotations
1717 " FLY" , # flynt
18+ " G" , # flake8-logging-format
1819 " I" , # isort
1920 " N" , # pep8-naming
2021 " PERF" , # perflint
Original file line number Diff line number Diff line change @@ -1066,20 +1066,21 @@ def load_environment_variables() -> None:
10661066 env_conf_file = dbs_site_config
10671067 else :
10681068 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 ,
10711072 )
10721073 return
10731074
1074- logging .info (f "Reading environment variables from { env_conf_file } ." )
1075+ logging .info ("Reading environment variables from %s." , env_conf_file )
10751076 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 )
10771078 elif dbs_site_config .is_file ():
1078- logging .info (f "Overriding { dbs_site_config } ." )
1079+ logging .info ("Overriding %s." , dbs_site_config )
10791080
10801081 env_config = env_conf_file .read_text (encoding = "utf-8" )
10811082 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 )
10831084 os .environ [key ] = value
10841085
10851086
You can’t perform that action at this time.
0 commit comments