-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
37 changed files
with
11,763 additions
and
9,703 deletions.
There are no files selected for viewing
This file contains 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,9 @@ | ||
[flake8] | ||
max-line-length = 88 # Black standard | ||
exclude = .git,__pycache__,build,dist # Ignore folders and files | ||
max-complexity = 10 # Set the maximum complexity allowed | ||
ignore = | ||
; E203, # space before ':' | ||
; W503, # line break before binary operator | ||
; W191, # indentation contains tabs | ||
; E101, # indentation contains mixed spaces and tabs |
This file contains 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,31 @@ | ||
name: Code Formatting | ||
|
||
on: | ||
push: | ||
branches: | ||
- development | ||
pull_request: | ||
branches: | ||
- master | ||
- development | ||
|
||
jobs: | ||
black: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Check out repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: '3.x' | ||
|
||
- name: Install black | ||
run: | | ||
pip install black | ||
- name: Run black check | ||
run: | | ||
black --check . |
This file contains 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 |
---|---|---|
|
@@ -5,3 +5,4 @@ venv | |
build | ||
dist | ||
LOKI.egg-info | ||
.vscode |
This file contains 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 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,2 +1,9 @@ | ||
__all__ = ["loki-build","loki/loki_db","loki/loki_source","loki/loki_updater","loki/loaders","loki/util"] | ||
__version__ = "3.0.0" | ||
__all__ = [ | ||
"loki-build", | ||
"loki/loki_db", | ||
"loki/loki_source", | ||
"loki/loki_updater", | ||
"loki/loaders", | ||
"loki/util", | ||
] | ||
__version__ = "3.0.0" |
Oops, something went wrong.