File tree Expand file tree Collapse file tree 2 files changed +23
-3
lines changed Expand file tree Collapse file tree 2 files changed +23
-3
lines changed Original file line number Diff line number Diff line change
1
+ name : Tests
2
+
3
+ on : [push, pull_request]
4
+
5
+ jobs :
6
+ tests :
7
+ runs-on : ubuntu-latest
8
+
9
+ steps :
10
+ - uses : actions/checkout@v4
11
+
12
+ - name : Install uv and set the python version
13
+ uses : astral-sh/setup-uv@v5
14
+ with :
15
+ python-version : " 3.11"
16
+ enable-cache : true
17
+ cache-dependency-glob : " uv.lock"
18
+
19
+ - name : Install the project
20
+ run : uv sync --all-extras --dev
21
+
22
+ - name : Run tests
23
+ run : uv run pytest
Original file line number Diff line number Diff line change 14
14
UnauthorizedException ,
15
15
UnprocessableEntityException ,
16
16
)
17
- from .rate_limiter import SimpleRateLimiter , create_rate_limiter
18
17
19
18
__all__ = [
20
19
"DatabaseConfig" ,
25
24
"UnprocessableEntityException" ,
26
25
"DuplicateValueException" ,
27
26
"RateLimitException" ,
28
- "SimpleRateLimiter" ,
29
- "create_rate_limiter" ,
30
27
"authenticate_user_by_credentials" ,
31
28
"convert_user_to_dict" ,
32
29
"get_password_hash" ,
You can’t perform that action at this time.
0 commit comments