Skip to content

Commit

Permalink
chore: limiters -> limits; some updated dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
MultifokalHirn committed Jan 2, 2024
1 parent 613b58d commit 9f69c29
Show file tree
Hide file tree
Showing 7 changed files with 79 additions and 80 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ repos:
# - id: check-json
- id: detect-private-key
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.8
rev: v0.1.9
hooks:
- id: ruff
args: [--config=./pyproject.toml]
Expand Down
39 changes: 19 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,15 +124,15 @@ if [typecheck | boolcheck | truthycheck | positivecheck | ...] and [raise | log
## Goal Structure

``` txt
.
ornaments
├── helpers
│   ├── catch_all_exceptions.py
│   ├── normalized_exceptions.py
│   └── retry.py
├── invariants
│   ├── conditional_execution.py
│   └── only_called_once.py
├── limiters
├── limits
│   ├── call_limit.py
│   └── execution_time_limit.py
├── logging
Expand All @@ -151,27 +151,26 @@ if [typecheck | boolcheck | truthycheck | positivecheck | ...] and [raise | log
├── runtime_checks
│   ├── checked_return_type.py
│   └── parameter_validation.py
├── safety
│   └── fallback_function.py
└── scopes.py
└── safety
   └── fallback_function.py
```

``` txt
.::=+=--++=::.
.-+++*-+++ =*+*=++=-:
:+#+-=:-.:+--+++=.=+:=**=.
.+#==::--+#*-...:=%%+-:**==*=
.@%=*=+:*#*. .#@#-==-==-*.
#@--+=-##:: %@#=:=:+::=
-@@:==+:%+-. =@=:++=:: -.
*@@:-==:%*-. =@*+=+-+-.-.
:@@:.-==+@%- %@===+==: =.
#@-++-=--#%= :%%----=:. :=
#@=.:-:+++++==:--++=.::=++..:+
:*%#*=:*+: -==:#%#*.==+::..--
::-+**=++-:=--.*%%%==--.:::.
:--:==-:--:--:-:::::
. . : : ...
.::=+=--++=::.
.-+++*-+++ =*+*=++=-:
:+#+-=:-.:+--+++=.=+:=**=.
.+#==::--+#*-...:=%%+-:**==*=
.@%=*=+:*#*. .#@#-==-==-*.
#@--+=-##:: %@#=:=:+::=
-@@:==+:%+-. =@=:++=:: -.
*@@:-==:%*-. =@*+=+-+-.-.
:@@:.-==+@%- %@===+==: =.
#@-++-=--#%= :%%----=:. :=
#@=.:-:+++++==:--++=.::=++..:+
:*%#*=:*+: -==:#%#*.==+::..--
::-+**=++-:=--.*%%%==--.:::.
:--:==-:--:--:-:::::
. . : : ...
```

## Development
Expand Down
114 changes: 57 additions & 57 deletions pdm.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/ornaments/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

# Local

from . import exceptions, helpers, invariants, limiters, markers
from . import exceptions, helpers, invariants, limits, markers
from .__metadata__ import __description__, __license__, __title__
from .__version__ import __version__

Expand All @@ -15,7 +15,7 @@
"helpers",
"invariants",
"markers",
"limiters",
"limits",
# "_types",
"__title__",
"__description__",
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 9f69c29

Please sign in to comment.