Skip to content

Commit

Permalink
ignore pylint error
Browse files Browse the repository at this point in the history
  • Loading branch information
kchilleri committed Oct 7, 2024
1 parent 45c9cdd commit 700ed6a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion beeflow/client/bee_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def check_hostname(curr_hn, stop=False):
"""Check current front end name matches the one beeflow was started on."""
db = bdb.connect_db(client_db, db_path())
start_hn = db.info.get_hostname()
if start_hn != "" and curr_hn != start_hn:
if start_hn != "" and curr_hn != start_hn: # noqa: don't use set instead
warn(f'beeflow was started on "{start_hn}" and you are trying to '
f'run a command on "{curr_hn}".')
if start_hn == "":
Expand Down Expand Up @@ -686,4 +686,5 @@ def main():

# Ignore W0511: This allows us to have TODOs in the code
# Ignore R1732: Significant code restructuring required to fix
# Ignore R1714: Not using a set instead
# pylama:ignore=W0511,R1732

0 comments on commit 700ed6a

Please sign in to comment.