-
Notifications
You must be signed in to change notification settings - Fork 1
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
204 changed files
with
506 additions
and
741 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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# Legal Boilerplate | ||
|
||
Look, I get it. | ||
Contributing to HOPE Workspace, I retain all rights, title and interest in and to my contributions, and by keeping | ||
this boilerplate intact I confirm that HOPE Workspace can use, modify, copy, and redistribute my contributions, | ||
Look, I get it. | ||
Contributing to HOPE Workspace, I retain all rights, title and interest in and to my contributions, and by keeping | ||
this boilerplate intact I confirm that HOPE Workspace can use, modify, copy, and redistribute my contributions, | ||
under HOPE's choice of terms. |
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
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -6,4 +6,4 @@ | |
show_bases: false | ||
show_bases: false | ||
show_root_heading: true | ||
show_source: true | ||
show_source: true |
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 |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
## Spreadsheet import | ||
|
||
|
||
```mermaid | ||
```mermaid | ||
graph TD | ||
A[Upload file] --> B{All records are valid?} | ||
|
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 |
---|---|---|
@@ -0,0 +1,65 @@ | ||
target-version = "py312" | ||
line-length = 120 | ||
|
||
[lint.isort] | ||
case-sensitive = true | ||
|
||
[lint] | ||
select = [ | ||
"A", ## prevent using keywords that clobber python builtins | ||
"B", # bugbear: security warnings | ||
"BLE", # blind exceptions | ||
"C4", # flake8-comprehensions | ||
"C901", # McCabe complexity | ||
"D", # pydocstyle | ||
"DJ", # flake8-django | ||
"E", # pycodestylex | ||
"E4", "E7", "E9", | ||
"ERA", # eradicate | ||
"F", # pyflakes | ||
"FURB", # refurb | ||
"I", # isort | ||
"ISC", # implicit string concatenation | ||
"PERF", # perflint | ||
"PIE", # flake8-pie | ||
"PL", # PyLint | ||
"S", # bandit, | ||
"SIM", # flake8-simplify | ||
"T10", # flake8-debugger | ||
"UP", # pyupgrade | ||
] | ||
extend-select = ["UP", ] | ||
ignore = [ | ||
"B904", # raise-without-from-inside-except: syntax not compatible with py2 | ||
"D100", # Missing docstring in public module | ||
"D101", # Missing docstring in public class | ||
"D102", # Missing docstring in public method | ||
"D103", # Missing docstring in public function | ||
"D104", # Missing docstring in public package | ||
"D105", # Missing docstring in magic method | ||
"D106", # Missing docstring in public nested class | ||
"D107", # Missing docstring in `__init__` | ||
"D203", # one-blank-line-before-class | ||
"D212", # multi-line-summary-first-line | ||
"D213", # multi-line-summary-second-line | ||
"E731", # lambda-assignment: lambdas are substential in maintenance of py2/3 codebase | ||
"ISC001", # conflicts with ruff format command | ||
"RUF005", # collection-literal-concatenation: syntax not compatible with py2 | ||
"RUF012", # mutable-class-default: typing is not available for py2 | ||
"I001", # unsorted imports https://docs.astral.sh/ruff/rules/unsorted-imports/#unsorted-imports-i001 | ||
"UP037", # [*] Remove quotes from type annotation | ||
"UP035", # Import from `collections.abc` instead: `Sequence` | ||
"UP031", # Use format specifiers instead of percent format | ||
"SIM108", # Use ternary operator instead of... | ||
"PLR2004", # Magic value used in comparison | ||
"DJ001", # Avoid using `null=True` on string-based fields such as `CharField` | ||
] | ||
|
||
[format] | ||
quote-style = "double" | ||
indent-style = "space" | ||
skip-magic-trailing-comma = false | ||
line-ending = "auto" | ||
|
||
[lint.per-file-ignores] | ||
"tests/**.py" = ["S101", "PLR2004", "S", "SIM117", "D"] |
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
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
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
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
Oops, something went wrong.