-
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.
Browse files
Browse the repository at this point in the history
…type-checking-to-utils [FCL-343] Add typing to utils
- Loading branch information
Showing
14 changed files
with
434 additions
and
116 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,22 @@ | ||
headers: > | ||
# Automatically generated file from a JSON schema | ||
# Used to correctly format the generated file | ||
# callbacks: | ||
# - - black | ||
# - - isort | ||
generate: | ||
- # JSON schema file path | ||
source: src/ds_caselaw_utils/data/schema/courts.schema.json | ||
# Python file path | ||
destination: src/ds_caselaw_utils/courts_schema_types_autogenerated.py | ||
# The name of the root element | ||
root_name: RawCourtRepository | ||
# Argument passed to the API | ||
api_arguments: | ||
additional_properties: Only explicit | ||
# Rename an element | ||
name_mapping: {} | ||
# The minimum Python version that the code should support. By default the | ||
# currently executing Python version is chosen. Note that the output | ||
# may require typing_extensions to be installed. | ||
python_version: "3.9" |
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 |
---|---|---|
@@ -1,6 +1,7 @@ | ||
#!/usr/bin/env python | ||
|
||
from pathlib import Path | ||
|
||
import yaml | ||
|
||
print("Loading courts...") | ||
|
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,4 @@ | ||
from .courts import courts | ||
from .neutral import neutral_url as neutral_url | ||
from .neutral import neutral_url | ||
|
||
__all__ = ["courts", "neutral_url"] |
Oops, something went wrong.