Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Nov 4, 2024
1 parent 607e44d commit ece9185
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aiida/orm/nodes/data/code/installed.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def validate_filepath_executable(self):
if file_exists:
mode = transport.get_mode(str(self.filepath_executable))
# check if execute but is set
user_has_execute = format(mode, "b")[6] == '1'
user_has_execute = format(mode, 'b')[6] == '1'

except Exception as exception:
raise exceptions.ValidationError(
Expand Down

0 comments on commit ece9185

Please sign in to comment.