-
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.
Drop Python 3.7, tinker with devopsy stuff
Too much stuff to list here.. Partial changes: - Relax a bunch of overly-zealous linter args - Ignore missing AssertionError in docstrings - Lock down bandit (see: tylerwince/flake8-bandit#21) - Disable strict optional - Ignore missing stubs from third-party libraries pandas,tqdm,sqlalchemy - Update lockfile - Remove unused module - Basic logging configuration (null handler) - Use Poetry 1.2.0.a2 for builds Notebooks: - Add formatting of notebooks - Add run-jupyter.sh convenience script (nosec) - Add PerfTestTemplate.ipynb
- Loading branch information
1 parent
f1d3197
commit 6733464
Showing
32 changed files
with
2,320 additions
and
205 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
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,29 @@ | ||
[paths] | ||
source = src | ||
|
||
[report] | ||
omit = | ||
tests/* | ||
src/rics/translation/fetching/* | ||
src/rics/translation/dio/* | ||
src/rics/_internal* | ||
*/exceptions.py | ||
|
||
fail_under = 99 | ||
|
||
exclude_lines = | ||
pragma: no cover | ||
def __repr__ | ||
if self.debug | ||
if settings.DEBUG: | ||
raise AssertionError | ||
raise NotImplementedError | ||
if 0: | ||
if __name__ == __main__: | ||
LOGGER.isEnabledFor | ||
if not isinstance\(other | ||
|
||
show_missing = true | ||
|
||
[html] | ||
directory = htmlcov |
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,3 @@ | ||
[darglint] | ||
strictness = short | ||
ignore_raise=AssertionError |
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
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,7 @@ | ||
# Placeholder | ||
|
||
Ensure that venv is installed locally. If Poetry doesn't respect this, run: | ||
|
||
```bash | ||
poetry config virtualenvs.in-project 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Regex exceptions for nitpick. There's an issue for any and all generics | ||
# and typevars of which there are a lot. | ||
|
||
\.types\..* | ||
|
||
# Online translation | ||
_fetch_instruction\.FetchInstruction | ||
_resolve\.DefaultTranslatable | ||
_ids_to_fetch\.IdsToFetch | ||
|
||
# Offline translation | ||
_placeholder_overrides\.T | ||
online\.PlaceholderOverrides | ||
|
||
# Mapping | ||
mapping\.BidirectionalMapping | ||
_directional_mapping\.(HL|HR) | ||
score_functions\.H | ||
_mapper\.(ValueType|CandidateType) |
Oops, something went wrong.