Skip to content

Commit

Permalink
reformat with black
Browse files Browse the repository at this point in the history
  • Loading branch information
cognifloyd committed Jan 5, 2023
1 parent 56883bf commit 42d86c2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
6 changes: 3 additions & 3 deletions BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ python_requirements(
"//:reqs#zake",
]
},
# make sure anything that uses st2-auth-ldap gets the st2auth constant
"st2-auth-ldap": {
# make sure anything that uses st2-auth-ldap gets the st2auth constant
"st2-auth-ldap": {
"dependencies": [
"st2auth/st2auth/backends/constants.py",
]
}
},
},
)

Expand Down
6 changes: 5 additions & 1 deletion pants-plugins/sample_conf/rules_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,11 @@ def main():


def write_files(
sample_conf_dir: str, sample_conf_file: str, before: str, after: str, rule_runner: RuleRunner
sample_conf_dir: str,
sample_conf_file: str,
before: str,
after: str,
rule_runner: RuleRunner,
) -> None:
files = {
f"{sample_conf_dir}/{sample_conf_file}": before,
Expand Down
2 changes: 1 addition & 1 deletion tools/config_gen.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@


CONFIGS = [
# this is duplicated in conf/BUILD
# this is duplicated in tools/BUILD
# TODO: replace this with a heuristic that searches for config.py
# maybe with an exclude list (eg st2tests.config st2client)
# grep -rl 'def register_opts(ignore_errors=False):' st2*
Expand Down

0 comments on commit 42d86c2

Please sign in to comment.