Skip to content

Commit

Permalink
chore: cleanups, update deps, linters
Browse files Browse the repository at this point in the history
  • Loading branch information
pierreaubert committed Nov 11, 2024
1 parent 956b122 commit 175507e
Show file tree
Hide file tree
Showing 15 changed files with 692 additions and 1,043 deletions.
6 changes: 0 additions & 6 deletions .flake8

This file was deleted.

16 changes: 0 additions & 16 deletions .flowconfig

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.ipynb_checkpoints
.virtual_documents
Untitled*.ipynb
snippets*.ipynb
**/*~
Expand Down
4 changes: 0 additions & 4 deletions .pycheckers

This file was deleted.

5 changes: 0 additions & 5 deletions .pylintrc

This file was deleted.

6 changes: 5 additions & 1 deletion generate_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
import warnings

import flammkuchen as fl
from pandas.core.arrays.masked import to_numpy_dtype_inference
import tables

import datas.metadata as metadata
Expand Down Expand Up @@ -89,7 +90,7 @@ def args2level(args):


def create_default_directories():
for d in (CACHE_DIR, "docs", "docs/pictures", "docs/speakers"):
for d in (CACHE_DIR, "docs", "docs/pictures", "docs/speakers", "build/eqs", "build/ray", "build/website", "build/mako_modules"):
pathlib.Path(d).mkdir(parents=True, exist_ok=True)


Expand Down Expand Up @@ -147,6 +148,7 @@ def custom_ray_init(args):
sys.exit(1)
ray_address = check_address

tmp_dir = (pathlib.Path.cwd().absolute() / 'build/ray').as_posix()
if ray_address is not None:
print(
"Calling init with cluster at {} dashboard at {}:{}".format(
Expand All @@ -162,6 +164,7 @@ def custom_ray_init(args):
configure_logging=True,
logging_level=level,
log_to_driver=True,
_temp_dir=tmp_dir,
)
else:
print("Calling init with dashboard at {}:{}".format(dashboard_ip, dashboard_port))
Expand All @@ -175,6 +178,7 @@ def custom_ray_init(args):
configure_logging=True,
logging_level=level,
log_to_driver=True,
_temp_dir=tmp_dir,
)


Expand Down
Loading

0 comments on commit 175507e

Please sign in to comment.