diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index dd84ea7..91ca677 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -4,7 +4,6 @@ about: Create a report to help us improve title: '' labels: '' assignees: '' - --- **Describe the bug** @@ -12,6 +11,7 @@ A clear and concise description of what the bug is. **To Reproduce** Steps to reproduce the behavior: + 1. Go to '...' 2. Click on '....' 3. Scroll down to '....' @@ -24,15 +24,17 @@ A clear and concise description of what you expected to happen. If applicable, add screenshots to help explain your problem. **Desktop (please complete the following information):** - - OS: [e.g. iOS] - - Browser [e.g. chrome, safari] - - Version [e.g. 22] + +- OS: \[e.g. iOS\] +- Browser \[e.g. chrome, safari\] +- Version \[e.g. 22\] **Smartphone (please complete the following information):** - - Device: [e.g. iPhone6] - - OS: [e.g. iOS8.1] - - Browser [e.g. stock browser, safari] - - Version [e.g. 22] + +- Device: \[e.g. iPhone6\] +- OS: \[e.g. iOS8.1\] +- Browser \[e.g. stock browser, safari\] +- Version \[e.g. 22\] **Additional context** Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md index bbcbbe7..a52bcd1 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -4,11 +4,10 @@ about: Suggest an idea for this project title: '' labels: '' assignees: '' - --- **Is your feature request related to a problem? Please describe.** -A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] +A clear and concise description of what the problem is. Ex. I'm always frustrated when \[...\] **Describe the solution you'd like** A clear and concise description of what you want to happen. diff --git a/reliability_score/eval.py b/reliability_score/eval.py index cfca922..9922cfa 100644 --- a/reliability_score/eval.py +++ b/reliability_score/eval.py @@ -4,10 +4,11 @@ try: root = pyrootutils.setup_root(__file__, dotenv=True, pythonpath=True) -except: +except Exception: path = "./" root = pyrootutils.set_root(path) + @hydra.main(version_base="1.2", config_path="configs", config_name="eval.yaml") def main(cfg: DictConfig) -> None: if "debugme" in cfg: diff --git a/setup.py b/setup.py index 1f6226c..1b851f2 100644 --- a/setup.py +++ b/setup.py @@ -1,17 +1,20 @@ #!/usr/bin/env python -from setuptools import find_packages, setup import os +from setuptools import find_packages, setup + + def package_files(directory): paths = [] for (path, directories, filenames) in os.walk(directory): for filename in filenames: if "yaml" in filename: - paths.append(os.path.join('..', path, filename)) + paths.append(os.path.join("..", path, filename)) return paths -extra_files = package_files('reliability_score/configs/') + +extra_files = package_files("reliability_score/configs/") setup( name="reliability-score",