Loading .flake8deleted 100644 → 0 +0 −3 Original line number Diff line number Diff line [flake8] max-line-length=88 extend-ignore=E203 .gitignore +6 −9 Original line number Diff line number Diff line Loading @@ -138,7 +138,7 @@ venv.bak/ .ropeproject # mkdocs documentation /site site # mypy .mypy_cache/ Loading Loading @@ -166,6 +166,10 @@ cython_debug/ # Mlflow mlruns/ mlflow_store/ mlflow_artifacts/ # Pytorch Lightning lightning_logs/ # PyCharm # JetBrains specific template is maintained in a separate JetBrains.gitignore that can Loading @@ -174,12 +178,5 @@ mlflow_store/ # option (not recommended) you can uncomment the following to ignore the entire idea folder. .idea/ # Ray /ray_results # Hydra /outputs # Project /data /models No newline at end of file .gitlab-ci.yml +1 −4 Original line number Diff line number Diff line include: project: rationai/digital-pathology/templates/ci-templates file: - Pytest.gitlab-ci.yml - Python-Lint.gitlab-ci.yml file: Python-Lint.gitlab-ci.yml stages: - lint - test .pre-commit-config.yaml +8 −6 Original line number Diff line number Diff line Loading @@ -2,23 +2,25 @@ # See https://pre-commit.com/hooks.html for more hooks repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.5.0 rev: v4.6.0 hooks: - id: check-yaml args: [--unsafe] - repo: https://github.com/compilerla/conventional-pre-commit rev: v3.2.0 rev: v3.4.0 hooks: - id: conventional-pre-commit stages: [commit-msg] # optional: list of Conventional Commits types to allow e.g. [feat, fix, ci, chore, test] args: [exp, build, chore, ci, docs, feat, fix, perf, refactor, revert, style, test] args: [] - repo: https://github.com/astral-sh/ruff-pre-commit rev: v0.4.4 rev: v0.6.0 hooks: # Run the linter. - id: ruff entry: pdm lint --force-exclude # Run the formatter. - id: ruff-format entry: pdm format --force-exclude configs/default.yaml 0 → 100644 +20 −0 Original line number Diff line number Diff line defaults: - hydra: default - logger: mlflow - _self_ seed: ${random_seed:} mode: ??? checkpoint: null trainer: {} data: {} model: {} metadata: user: ??? experiment_name: ??? run_name: ??? description: ??? Loading
.flake8deleted 100644 → 0 +0 −3 Original line number Diff line number Diff line [flake8] max-line-length=88 extend-ignore=E203
.gitignore +6 −9 Original line number Diff line number Diff line Loading @@ -138,7 +138,7 @@ venv.bak/ .ropeproject # mkdocs documentation /site site # mypy .mypy_cache/ Loading Loading @@ -166,6 +166,10 @@ cython_debug/ # Mlflow mlruns/ mlflow_store/ mlflow_artifacts/ # Pytorch Lightning lightning_logs/ # PyCharm # JetBrains specific template is maintained in a separate JetBrains.gitignore that can Loading @@ -174,12 +178,5 @@ mlflow_store/ # option (not recommended) you can uncomment the following to ignore the entire idea folder. .idea/ # Ray /ray_results # Hydra /outputs # Project /data /models No newline at end of file
.gitlab-ci.yml +1 −4 Original line number Diff line number Diff line include: project: rationai/digital-pathology/templates/ci-templates file: - Pytest.gitlab-ci.yml - Python-Lint.gitlab-ci.yml file: Python-Lint.gitlab-ci.yml stages: - lint - test
.pre-commit-config.yaml +8 −6 Original line number Diff line number Diff line Loading @@ -2,23 +2,25 @@ # See https://pre-commit.com/hooks.html for more hooks repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.5.0 rev: v4.6.0 hooks: - id: check-yaml args: [--unsafe] - repo: https://github.com/compilerla/conventional-pre-commit rev: v3.2.0 rev: v3.4.0 hooks: - id: conventional-pre-commit stages: [commit-msg] # optional: list of Conventional Commits types to allow e.g. [feat, fix, ci, chore, test] args: [exp, build, chore, ci, docs, feat, fix, perf, refactor, revert, style, test] args: [] - repo: https://github.com/astral-sh/ruff-pre-commit rev: v0.4.4 rev: v0.6.0 hooks: # Run the linter. - id: ruff entry: pdm lint --force-exclude # Run the formatter. - id: ruff-format entry: pdm format --force-exclude
configs/default.yaml 0 → 100644 +20 −0 Original line number Diff line number Diff line defaults: - hydra: default - logger: mlflow - _self_ seed: ${random_seed:} mode: ??? checkpoint: null trainer: {} data: {} model: {} metadata: user: ??? experiment_name: ??? run_name: ??? description: ???