Skip to content

Commit

Permalink
Added Logging (#28)
Browse files Browse the repository at this point in the history
* added logging with loguru

* run ci workflow on all branches for push
  • Loading branch information
fullerzz authored Apr 24, 2024
1 parent 41f8ab9 commit 1c69d8d
Show file tree
Hide file tree
Showing 6 changed files with 171 additions and 44 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name: CI

on:
push:
branches: [ "main", "dev"]
branches: [ "*" ]
pull_request:
branches: [ "main", "dev" ]

Expand Down
85 changes: 59 additions & 26 deletions poetry.lock

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

5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@ aiohttp = ">=3.9.5"
aiodns = "~3.1.1"
msgspec = "~0.18.6"
uvloop = { version = "0.19.0", optional = true }
loguru = "^0.7.2"

[tool.poetry.group.dev.dependencies]
ruff = "~0.3.7"
ruff = "^0.4.0"
pre-commit = "3.5.0"
pytest = "^7.4.4"
pytest-asyncio = "^0.21.1"
Expand All @@ -38,7 +39,7 @@ target-version = "py310"

[tool.ruff.lint]
select = ["E", "F", "W", "C90", "I", "N", "UP", "ASYNC", "S", "B", "ERA", "PLE", "PLW", "PERF", "RUF"]
ignore = []
ignore = ["E501"]

# Allow fix for all enabled rules (when `--fix`) is provided.
fixable = ["ALL"]
Expand Down
9 changes: 9 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,9 @@ cffi==1.16.0 ; python_version >= "3.10" and python_version < "4.0" \
--hash=sha256:ee07e47c12890ef248766a6e55bd38ebfb2bb8edd4142d56db91b21ea68b7627 \
--hash=sha256:fa3a0128b152627161ce47201262d3140edb5a5c3da88d73a1b790a959126956 \
--hash=sha256:fcc8eb6d5902bb1cf6dc4f187ee3ea80a1eba0a89aba40a5cb20a5087d961357
colorama==0.4.6 ; python_version >= "3.10" and python_version < "4.0" and sys_platform == "win32" \
--hash=sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44 \
--hash=sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6
frozenlist==1.4.1 ; python_version >= "3.10" and python_version < "4.0" \
--hash=sha256:04ced3e6a46b4cfffe20f9ae482818e34eba9b5fb0ce4056e4cc9b6e212d09b7 \
--hash=sha256:0633c8d5337cb5c77acbccc6357ac49a1770b8c487e5b3505c57b949b4b82e98 \
Expand Down Expand Up @@ -221,6 +224,9 @@ frozenlist==1.4.1 ; python_version >= "3.10" and python_version < "4.0" \
idna==3.7 ; python_version >= "3.10" and python_version < "4.0" \
--hash=sha256:028ff3aadf0609c1fd278d8ea3089299412a7a8b9bd005dd08b9f8285bcb5cfc \
--hash=sha256:82fee1fc78add43492d3a1898bfa6d8a904cc97d8427f683ed8e798d07761aa0
loguru==0.7.2 ; python_version >= "3.10" and python_version < "4.0" \
--hash=sha256:003d71e3d3ed35f0f8984898359d65b79e5b21943f78af86aa5491210429b8eb \
--hash=sha256:e671a53522515f34fd406340ee968cb9ecafbc4b36c679da03c18fd8d0bd51ac
msgspec==0.18.6 ; python_version >= "3.10" and python_version < "4.0" \
--hash=sha256:06acbd6edf175bee0e36295d6b0302c6de3aaf61246b46f9549ca0041a9d7177 \
--hash=sha256:0e24539b25c85c8f0597274f11061c102ad6b0c56af053373ba4629772b407be \
Expand Down Expand Up @@ -404,6 +410,9 @@ pycares==4.4.0 ; python_version >= "3.10" and python_version < "4.0" \
pycparser==2.22 ; python_version >= "3.10" and python_version < "4.0" \
--hash=sha256:491c8be9c040f5390f5bf44a5b07752bd07f56edf992381b05c701439eec10f6 \
--hash=sha256:c3702b6d3dd8c7abc1afa565d7e63d53a1d0bd86cdc24edd75470f4de499cfcc
win32-setctime==1.1.0 ; python_version >= "3.10" and python_version < "4.0" and sys_platform == "win32" \
--hash=sha256:15cf5750465118d6929ae4de4eb46e8edae9a5634350c01ba582df868e932cb2 \
--hash=sha256:231db239e959c2fe7eb1d7dc129f11172354f98361c4fa2d6d2d7e278baa8aad
yarl==1.9.4 ; python_version >= "3.10" and python_version < "4.0" \
--hash=sha256:008d3e808d03ef28542372d01057fd09168419cdc8f848efe2804f894ae03e51 \
--hash=sha256:03caa9507d3d3c83bca08650678e25364e1843b484f19986a527630ca376ecce \
Expand Down
Loading

0 comments on commit 1c69d8d

Please sign in to comment.