-
-
Notifications
You must be signed in to change notification settings - Fork 198
chore: format changes with black, and google python docstring, install script testing #289
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
101 commits
Select commit
Hold shift + click to select a range
7156f8d
ran black
Mustaballer 814f486
use poetry for install
Mustaballer 4c665fa
Add caching to main.yml for faster github action checks
Mustaballer 51f1632
Add missing job to main.yml
Mustaballer ab5f067
try ubuntu latest instead
Mustaballer aec2cc5
change readme type to string instead of array in pyproject.toml
Mustaballer a87300e
Update poetry version in main.yml
Mustaballer 5394c0c
try macos
Mustaballer b8958e6
commented out tests
Mustaballer df7c898
see if black command works
Mustaballer 9a4219f
see if black command runs properly
Mustaballer 62efae6
use black github action
Mustaballer 7ca3590
fix parsing
Mustaballer e442fcf
use supported black github action
Mustaballer 650da6a
ignore venv as well
Mustaballer e296489
change args for flake8 action
Mustaballer 2f19ef7
try flake8 exclude
Mustaballer 2b16c4f
manually add and use flake8
Mustaballer 060dc49
change docstring keyword
Mustaballer ee7a12f
Chain commands for installing flake8
Mustaballer 20d8d36
exclude .venv
Mustaballer a99e58d
Merge branch 'main' of https://github.com/MLDSAI/OpenAdapt into forma…
Mustaballer c82ac68
merged latest changes and add download instruction
Mustaballer f4a8a0a
remove import comment
Mustaballer f7b63fb
try python command with ubuntu
Mustaballer 9ea4729
add tesseract-ocr
Mustaballer 4cdb5f1
add homebrew option
Mustaballer 119abad
add cache for tesseract
Mustaballer e4767a1
add ntlk command with poetry
Mustaballer 732cfb8
ran black
Mustaballer cfa38c2
Add .flake8 and add flake8 to poetry
Mustaballer 6d0c12f
Add max length to flake8, add windows job with new install script, an…
Mustaballer 8c589ec
add some ignore errors in flake8
Mustaballer d3df418
Merge branch 'main' into formatting-changes
Mustaballer 3cb3360
Adress more flake8 lint errors
Mustaballer 7058116
Change max line length
Mustaballer ee9a904
ran black
Mustaballer 3c8fde5
Merge branch 'main' of https://github.com/MLDSAI/OpenAdapt into forma…
Mustaballer a64cd5f
Merge remote-tracking branch 'origin/formatting-changes' into formatt…
Mustaballer 0f54842
resolve new changes and ran black
Mustaballer 8f96385
Merge branch 'main' into formatting-changes
Mustaballer d4510a8
Merge branch 'main' of https://github.com/MLDSAI/OpenAdapt into forma…
Mustaballer a400370
Merge remote-tracking branch 'origin/formatting-changes' into formatt…
Mustaballer 02fcb0f
remove "import nltk; nltk.download('punkt')" command
Mustaballer b669df9
resolve lint errors in record.py
Mustaballer c6b2cea
Merge branch 'main' of https://github.com/MLDSAI/OpenAdapt into forma…
Mustaballer 1f9ad8a
remove unnecessary commas
Mustaballer d5f363b
Address D415, sentence/comma missing on first line error
Mustaballer d820598
Resolve F403
Mustaballer 4c66ab7
Address D200, single line doctstrings
Mustaballer 48ec58e
Addressed E731, F841, D205 errors
Mustaballer 017db4c
resolve F401, unused imports
Mustaballer d53ac45
Address return type annotations
Mustaballer a6f5aa7
Add type annotations for function arguments
Mustaballer ad564aa
Merge branch 'main' into formatting-changes
Mustaballer bdf6455
Merge branch 'main' of https://github.com/MLDSAI/OpenAdapt into forma…
Mustaballer 4578716
Merge branch 'formatting-changes' of https://github.com/Mustaballer/p…
Mustaballer 56a20cd
ran black
Mustaballer 9a636da
Address 'Multi-line docstring summaries should start at the first line'
Mustaballer 3b78035
Revert main.yml to test if all checks pass
Mustaballer 638b03f
fix syntax issue in main.yml
Mustaballer d45e5ff
Merge branch 'main' into formatting-changes
Mustaballer 59b0024
Use cache for install poetry dependencies
Mustaballer 7edacc9
Merge branch 'main' into formatting-changes
Mustaballer ef7a3c9
Revert main.yml and convert black action to oneliner with poetry
Mustaballer 07e75b1
Address lint errors for newly merged changes
Mustaballer 4f42f13
Try caching tesseract install
Mustaballer 9de083b
test if tesseract is cached
Mustaballer 3e1439a
try cache brew package
Mustaballer 6209ba7
try cache brew again
Mustaballer 6e7bfa8
Remove failing tesseract cache
Mustaballer 1a8240a
Merge branch 'main' into formatting-changes
Mustaballer e0d5ead
Merge branch 'main' into formatting-changes
Mustaballer aa6419e
Address lint errors from recent merge
Mustaballer 843a22a
replace test command
Mustaballer d88767f
address comments on annotations and ran black
Mustaballer 7a3dc30
change todo
0dm 71c1c30
Merge branch 'main' of https://github.com/MLDSAI/OpenAdapt into forma…
Mustaballer 9059d48
Merge branch 'main' into formatting-changes
Mustaballer a5faf67
Merge branch 'formatting-changes' of https://github.com/Mustaballer/p…
Mustaballer ff35c33
Shorten word line max length to 88 for comments
Mustaballer 64b5139
try executing script
Mustaballer 6311741
keep windows runner as todo
Mustaballer 7381715
comment poetry shell in install_opendapt.sh
Mustaballer 413d7bf
add error flag in mac install script to avoid poetry shell in github …
Mustaballer 0c99d6a
try to see if this will pass
Mustaballer a652676
update main.yml
Mustaballer 87188ec
Address incorrect function annotations in record.py
Mustaballer 1601717
Merge branch 'main' of https://github.com/MLDSAI/OpenAdapt into forma…
Mustaballer 6159a69
Address annotation errors in _windows.py
Mustaballer ea5e2a6
Addressed more general annotations
Mustaballer 80a53e0
Address incomplete annotations in util.py
Mustaballer 0000bbd
run isort and other precommit hooks with custom black config on all f…
Mustaballer 27ed9e4
Update openadapt/crud.py
abrichr 082f1ae
replaced more 'Any' type annotations
Mustaballer e696def
Merge branch 'formatting-changes' of https://github.com/Mustaballer/p…
Mustaballer d92a296
Merge branch 'main' of https://github.com/MLDSAI/OpenAdapt into forma…
Mustaballer b76801d
resolve lint errors from recent merge
Mustaballer b2c7c0f
Merge branch 'main' into formatting-changes
Mustaballer 7a8313a
ran black
Mustaballer 4d079dc
resolve circular imports, and address Any annotations
Mustaballer File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[flake8] | ||
exclude=alembic/versions,.venv | ||
docstring-convention=google | ||
max-line-length = 88 | ||
extend-ignore = ANN101 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
blank_issues_enabled: true | ||
blank_issues_enabled: true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
Generic single-database configuration. | ||
Generic single-database configuration. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,5 @@ | ||
"""OpenAdapt package. | ||
|
||
This package contains modules for the OpenAdapt project. | ||
""" | ||
__version__ = "0.5.1" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.