Skip to content

Commit

Permalink
linting first pass
Browse files Browse the repository at this point in the history
  • Loading branch information
jwilber committed Jul 21, 2023
1 parent 3584aa9 commit 9d6f39b
Show file tree
Hide file tree
Showing 69 changed files with 586 additions and 417 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -176,4 +176,4 @@ rlhf_tests
test_data

# mac
.DS_Store
.DS_Store
22 changes: 22 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
hooks:
- id: check-toml
- id: check-yaml
- id: end-of-file-fixer
- id: mixed-line-ending
- repo: https://github.com/pylint-dev/pylint
rev: v2.17.4 # Use the ref you want to point at
hooks:
- id: pylint
- repo: https://github.com/PyCQA/flake8
rev: 3.9.2 # Use the ref you want to point at
hooks:
- id: flake8
- repo: https://github.com/PyCQA/isort
rev: 5.12.0
hooks:
- id: isort
2 changes: 1 addition & 1 deletion docs/_build/html/_modules/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -111,4 +111,4 @@ <h1>All modules for which code is available</h1>
</script>

</body>
</html>
</html>
2 changes: 1 addition & 1 deletion docs/_build/html/_modules/peft/tuners/lora.html
Original file line number Diff line number Diff line change
Expand Up @@ -1244,4 +1244,4 @@ <h1>Source code for peft.tuners.lora</h1><div class="highlight"><pre>
</script>

</body>
</html>
</html>
2 changes: 1 addition & 1 deletion docs/_build/html/_modules/plotano/application.html
Original file line number Diff line number Diff line change
Expand Up @@ -308,4 +308,4 @@ <h1>Source code for plotano.application</h1><div class="highlight"><pre>
</script>

</body>
</html>
</html>
2 changes: 1 addition & 1 deletion docs/_build/html/_modules/plotano/component/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -228,4 +228,4 @@ <h1>Source code for plotano.component.base</h1><div class="highlight"><pre>
</script>

</body>
</html>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -131,4 +131,4 @@ <h1>Source code for plotano.component.chatbot_database_factory</h1><div class="h
</script>

</body>
</html>
</html>
2 changes: 1 addition & 1 deletion docs/_build/html/_modules/plotano/component/constants.html
Original file line number Diff line number Diff line change
Expand Up @@ -107,4 +107,4 @@ <h1>Source code for plotano.component.constants</h1><div class="highlight"><pre>
</script>

</body>
</html>
</html>
2 changes: 1 addition & 1 deletion docs/_build/html/_modules/plotano/db/qa_database.html
Original file line number Diff line number Diff line change
Expand Up @@ -294,4 +294,4 @@ <h1>Source code for plotano.db.qa_database</h1><div class="highlight"><pre>
</script>

</body>
</html>
</html>
2 changes: 1 addition & 1 deletion docs/_build/html/_modules/plotano/db/ranking_database.html
Original file line number Diff line number Diff line change
Expand Up @@ -258,4 +258,4 @@ <h1>Source code for plotano.db.ranking_database</h1><div class="highlight"><pre>
</script>

</body>
</html>
</html>
2 changes: 1 addition & 1 deletion docs/_build/html/_modules/plotano/llm/abs_llm.html
Original file line number Diff line number Diff line change
Expand Up @@ -128,4 +128,4 @@ <h1>Source code for plotano.llm.abs_llm</h1><div class="highlight"><pre>
</script>

</body>
</html>
</html>
2 changes: 1 addition & 1 deletion docs/_build/html/_modules/plotano/llm/constants.html
Original file line number Diff line number Diff line change
Expand Up @@ -112,4 +112,4 @@ <h1>Source code for plotano.llm.constants</h1><div class="highlight"><pre>
</script>

</body>
</html>
</html>
2 changes: 1 addition & 1 deletion docs/_build/html/_modules/plotano/llm/huggingface.html
Original file line number Diff line number Diff line change
Expand Up @@ -174,4 +174,4 @@ <h1>Source code for plotano.llm.huggingface</h1><div class="highlight"><pre>
</script>

</body>
</html>
</html>
2 changes: 1 addition & 1 deletion docs/_build/html/_modules/plotano/llm/model_factory.html
Original file line number Diff line number Diff line change
Expand Up @@ -150,4 +150,4 @@ <h1>Source code for plotano.llm.model_factory</h1><div class="highlight"><pre>
</script>

</body>
</html>
</html>
2 changes: 1 addition & 1 deletion docs/_build/html/_modules/plotano/llm/openai.html
Original file line number Diff line number Diff line change
Expand Up @@ -160,4 +160,4 @@ <h1>Source code for plotano.llm.openai</h1><div class="highlight"><pre>
</script>

</body>
</html>
</html>
2 changes: 1 addition & 1 deletion docs/_build/html/_modules/plotano/rlhf/rlhf.html
Original file line number Diff line number Diff line change
Expand Up @@ -745,4 +745,4 @@ <h1>Source code for plotano.rlhf.rlhf</h1><div class="highlight"><pre>
</script>

</body>
</html>
</html>
2 changes: 1 addition & 1 deletion docs/_build/html/_modules/plotano/state.html
Original file line number Diff line number Diff line change
Expand Up @@ -144,4 +144,4 @@ <h1>Source code for plotano.state</h1><div class="highlight"><pre>
</script>

</body>
</html>
</html>
2 changes: 1 addition & 1 deletion docs/_build/html/_static/basic.css
Original file line number Diff line number Diff line change
Expand Up @@ -900,4 +900,4 @@ div.math:hover a.headerlink {
#top-link {
display: none;
}
}
}
2 changes: 1 addition & 1 deletion docs/_build/html/_static/css/badge_only.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/_build/html/_static/css/theme.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/_build/html/_static/documentation_options.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ var DOCUMENTATION_OPTIONS = {
NAVIGATION_WITH_KEYS: false,
SHOW_SEARCH_SUMMARY: true,
ENABLE_SEARCH_SHORTCUTS: true,
};
};
2 changes: 1 addition & 1 deletion docs/_build/html/_static/js/badge_only.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 9d6f39b

Please sign in to comment.