Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
simplymathematics committed Dec 1, 2024
1 parent e25c164 commit 92bbc3e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ RUN apt-get upgrade -y
RUN git clone https://github.com/simplymathematics/deckard.git
WORKDIR /deckard
RUN git submodule update --init --recursive -j -1
RUN python3 -m pip install -e . --verbose
RUN python3 -m pip install -e . --verbose
2 changes: 1 addition & 1 deletion deckard/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"handlers": {
"default": {
# Use RotatingFileHandler for log rotation
"class": "logging.handlers.RotatingFileHandler",
"class": "logging.handlers.RotatingFileHandler",
"filename": os.path.join(Path.cwd(), "deckard.log"),
"formatter": "std",
"level": logging.DEBUG,
Expand Down
2 changes: 1 addition & 1 deletion deckard/layers/aft.py
Original file line number Diff line number Diff line change
Expand Up @@ -923,5 +923,5 @@ def aft_main(args):
args = aft_parser.parse_args()

if "__main__" == __name__:

aft_main(args)
1 change: 1 addition & 0 deletions deckard/layers/optimise.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,7 @@ def optimise_main(cfg: DictConfig) -> float:
score = optimise(cfg)
return score


if __name__ == "__main__":
logger = logging.getLogger(__name__)
assert Path(
Expand Down

0 comments on commit 92bbc3e

Please sign in to comment.