-
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.
Signed-off-by: Marc 'risson' Schmitt <[email protected]>
- Loading branch information
0 parents
commit 4de41f4
Showing
49 changed files
with
3,775 additions
and
0 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,2 @@ | ||
[doc.extern-map.registries] | ||
crates-io = "https://docs.rs/" |
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,3 @@ | ||
avoid-breaking-exported-api = true | ||
disallowed-types = ["std::collections::HashMap", "std::collections::HashSet"] | ||
msrv = "1.77" |
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 @@ | ||
layout_poetry() { | ||
if [[ ! -f pyproject.toml ]]; then | ||
log_error 'No pyproject.toml found. Use `poetry new` or `poetry init` to create one first.' | ||
exit 2 | ||
fi | ||
|
||
local VENV=$(poetry run poetry env info --path) | ||
if [[ -z $VENV || ! -d $VENV/bin ]]; then | ||
log_error 'No poetry virtual environment found. Use `poetry install` to create one first.' | ||
exit 2 | ||
fi | ||
|
||
export VIRTUAL_ENV=$VENV | ||
export POETRY_ACTIVE=1 | ||
PATH_add "$VENV/bin" | ||
} | ||
|
||
use flake | ||
layout_poetry |
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 @@ | ||
build | ||
dist | ||
sdist | ||
target | ||
*.whl | ||
*.egg-info | ||
__pycache__ |
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,16 @@ | ||
comment_width = 120 | ||
format_code_in_doc_comments = true | ||
format_strings = true | ||
group_imports = "StdExternalCrate" | ||
hex_literal_case = "Lower" | ||
imports_granularity = "Crate" | ||
max_width = 120 | ||
newline_style = "Unix" | ||
normalize_comments = true | ||
normalize_doc_attributes = true | ||
reorder_impl_items = true | ||
use_field_init_shorthand = true | ||
use_try_shorthand = true | ||
style_edition = "2024" | ||
where_single_line = true | ||
wrap_comments = true |
Oops, something went wrong.