Skip to content

Commit

Permalink
style changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Maitreyapatel committed Jan 24, 2023
1 parent 9ff5444 commit e017043
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 14 deletions.
18 changes: 10 additions & 8 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

**Describe the bug**
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 '....'
Expand All @@ -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.
3 changes: 1 addition & 2 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
3 changes: 2 additions & 1 deletion reliability_score/eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
9 changes: 6 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit e017043

Please sign in to comment.