fluidattacks_utils_logger 3.0.4__tar.gz → 3.0.6__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {fluidattacks_utils_logger-3.0.4 → fluidattacks_utils_logger-3.0.6}/PKG-INFO +2 -2
- {fluidattacks_utils_logger-3.0.4 → fluidattacks_utils_logger-3.0.6}/fluidattacks_utils_logger/__init__.py +1 -1
- {fluidattacks_utils_logger-3.0.4 → fluidattacks_utils_logger-3.0.6}/pyproject.toml +1 -1
- fluidattacks_utils_logger-3.0.6/ruff.toml +58 -0
- {fluidattacks_utils_logger-3.0.4 → fluidattacks_utils_logger-3.0.6}/uv.lock +12 -12
- fluidattacks_utils_logger-3.0.4/ruff.toml +0 -49
- {fluidattacks_utils_logger-3.0.4 → fluidattacks_utils_logger-3.0.6}/.envrc +0 -0
- {fluidattacks_utils_logger-3.0.4 → fluidattacks_utils_logger-3.0.6}/build/default.nix +0 -0
- {fluidattacks_utils_logger-3.0.4 → fluidattacks_utils_logger-3.0.6}/build/filter.nix +0 -0
- {fluidattacks_utils_logger-3.0.4 → fluidattacks_utils_logger-3.0.6}/flake.lock +0 -0
- {fluidattacks_utils_logger-3.0.4 → fluidattacks_utils_logger-3.0.6}/flake.nix +0 -0
- {fluidattacks_utils_logger-3.0.4 → fluidattacks_utils_logger-3.0.6}/fluidattacks_utils_logger/env.py +0 -0
- {fluidattacks_utils_logger-3.0.4 → fluidattacks_utils_logger-3.0.6}/fluidattacks_utils_logger/handlers.py +0 -0
- {fluidattacks_utils_logger-3.0.4 → fluidattacks_utils_logger-3.0.6}/fluidattacks_utils_logger/levels.py +0 -0
- {fluidattacks_utils_logger-3.0.4 → fluidattacks_utils_logger-3.0.6}/fluidattacks_utils_logger/logger.py +0 -0
- {fluidattacks_utils_logger-3.0.4 → fluidattacks_utils_logger-3.0.6}/fluidattacks_utils_logger/py.typed +0 -0
- {fluidattacks_utils_logger-3.0.4 → fluidattacks_utils_logger-3.0.6}/mypy.ini +0 -0
- {fluidattacks_utils_logger-3.0.4 → fluidattacks_utils_logger-3.0.6}/tests/__init__.py +0 -0
- {fluidattacks_utils_logger-3.0.4 → fluidattacks_utils_logger-3.0.6}/tests/arch/__init__.py +0 -0
- {fluidattacks_utils_logger-3.0.4 → fluidattacks_utils_logger-3.0.6}/tests/arch/arch.py +0 -0
- {fluidattacks_utils_logger-3.0.4 → fluidattacks_utils_logger-3.0.6}/tests/arch/test_arch.py +0 -0
- {fluidattacks_utils_logger-3.0.4 → fluidattacks_utils_logger-3.0.6}/tests/py.typed +0 -0
- {fluidattacks_utils_logger-3.0.4 → fluidattacks_utils_logger-3.0.6}/tests/test_logger.py +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: fluidattacks_utils_logger
|
|
3
|
-
Version: 3.0.
|
|
3
|
+
Version: 3.0.6
|
|
4
4
|
Summary: Common logger handlers
|
|
5
5
|
Author-email: Product Team <development@fluidattacks.com>
|
|
6
6
|
Requires-Python: >=3.11
|
|
7
7
|
Classifier: License :: OSI Approved :: MIT License
|
|
8
|
-
Requires-Dist: fluidattacks-core >=
|
|
8
|
+
Requires-Dist: fluidattacks-core >=11.0.0, <12.0.0
|
|
9
9
|
Requires-Dist: fa-purity >=2.5.2, <3.0.0
|
|
10
10
|
Requires-Dist: python-json-logger >=3.3.0, <5.0.0
|
|
@@ -4,7 +4,7 @@ authors = [{ name = "Product Team", email = "development@fluidattacks.com" }]
|
|
|
4
4
|
classifiers = ["License :: OSI Approved :: MIT License"]
|
|
5
5
|
requires-python = ">=3.11"
|
|
6
6
|
dependencies = [
|
|
7
|
-
"fluidattacks-core >=
|
|
7
|
+
"fluidattacks-core >=11.0.0, <12.0.0",
|
|
8
8
|
"fa-purity >=2.5.2, <3.0.0",
|
|
9
9
|
"python-json-logger >=3.3.0, <5.0.0",
|
|
10
10
|
]
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
cache-dir = ".ruff_cache"
|
|
2
|
+
line-length = 100
|
|
3
|
+
indent-width = 4
|
|
4
|
+
target-version = "py311"
|
|
5
|
+
|
|
6
|
+
[lint]
|
|
7
|
+
preview = true
|
|
8
|
+
explicit-preview-rules = true
|
|
9
|
+
select = ["ALL"]
|
|
10
|
+
extend-select = ["PLR1702", "PLR0916"]
|
|
11
|
+
ignore = [
|
|
12
|
+
"RET503", # raises false positives
|
|
13
|
+
"N818", # semantics on names, the type already has the semantics
|
|
14
|
+
"FLY002", # f-string is not type safe: implicit str conversion can hide codification issues
|
|
15
|
+
"D203", # conflict with D211 one must be ignored
|
|
16
|
+
"D212", # conflict with D213 one must be ignored
|
|
17
|
+
"TC001", # import cycles can be hidden
|
|
18
|
+
"FBT001", # see FBT00*_reason.md
|
|
19
|
+
"FBT002", # see FBT00*_reason.md
|
|
20
|
+
"FBT003", # see FBT00*_reason.md
|
|
21
|
+
"D100", # project convention
|
|
22
|
+
"D101", # project convention
|
|
23
|
+
"D102", # project convention
|
|
24
|
+
"D103", # project convention
|
|
25
|
+
"D104", # project convention
|
|
26
|
+
"D105", # project convention
|
|
27
|
+
]
|
|
28
|
+
|
|
29
|
+
fixable = ["ALL"]
|
|
30
|
+
unfixable = []
|
|
31
|
+
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
|
|
32
|
+
|
|
33
|
+
[lint.per-file-ignores]
|
|
34
|
+
"tests/**/*" = ["S101", "D100", "D103", "D104"]
|
|
35
|
+
"tests_fx/**/*" = ["S101", "D100", "D103", "D104"]
|
|
36
|
+
|
|
37
|
+
[format]
|
|
38
|
+
quote-style = "double"
|
|
39
|
+
indent-style = "space"
|
|
40
|
+
skip-magic-trailing-comma = false
|
|
41
|
+
line-ending = "lf"
|
|
42
|
+
|
|
43
|
+
[lint.mccabe]
|
|
44
|
+
max-complexity = 8
|
|
45
|
+
|
|
46
|
+
[lint.pylint]
|
|
47
|
+
max-branches = 8
|
|
48
|
+
max-nested-blocks = 4
|
|
49
|
+
max-statements = 25
|
|
50
|
+
max-bool-expr = 5
|
|
51
|
+
|
|
52
|
+
[lint.flake8-tidy-imports.banned-api]
|
|
53
|
+
"typing.cast".msg = "'cast' usage evades type checker."
|
|
54
|
+
"typing.Any".msg = "The 'any' type is like not having a type annotation."
|
|
55
|
+
"importlib.__import__".msg = "Dynamic imports are restricted. Use standard import statements to ensure static analysis tools can track dependencies."
|
|
56
|
+
"importlib.import_module".msg = "Dynamic imports are restricted. Use standard import statements to ensure static analysis tools can track dependencies."
|
|
57
|
+
"importlib.util".msg = "Spec-based loading is a dynamic import. Use standard import statements to ensure static analysis tools can track dependencies."
|
|
58
|
+
"importlib.machinery".msg = "Loaders perform dynamic imports. Use standard import statements to ensure static analysis tools can track dependencies."
|
|
@@ -7,7 +7,7 @@ resolution-markers = [
|
|
|
7
7
|
]
|
|
8
8
|
|
|
9
9
|
[options]
|
|
10
|
-
exclude-newer = "2026-
|
|
10
|
+
exclude-newer = "2026-08-11T17:03:38.318537Z"
|
|
11
11
|
exclude-newer-span = "P7D"
|
|
12
12
|
|
|
13
13
|
[options.exclude-newer-package]
|
|
@@ -164,18 +164,18 @@ wheels = [
|
|
|
164
164
|
|
|
165
165
|
[[package]]
|
|
166
166
|
name = "fluidattacks-core"
|
|
167
|
-
version = "
|
|
167
|
+
version = "11.1.0"
|
|
168
168
|
source = { registry = "https://pypi.org/simple" }
|
|
169
169
|
wheels = [
|
|
170
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
171
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
172
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
173
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
174
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
175
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
176
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
177
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
178
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
170
|
+
{ url = "https://files.pythonhosted.org/packages/fa/f8/2f786de06e8b690e47c1a3e071fd0c829a0c3c5462ea4356cba873d5c70c/fluidattacks_core-11.1.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:4803215e92e745d8dab0ae04736875887989c96c7b9e28241664ad5497bf50d6", size = 6879592, upload-time = "2026-08-15T01:40:52.089Z" },
|
|
171
|
+
{ url = "https://files.pythonhosted.org/packages/94/c4/738ddaa110aa9531e0dfdba1b6e15dac02bce975b6045a42b510bef8d44e/fluidattacks_core-11.1.0-cp311-cp311-manylinux_2_39_aarch64.whl", hash = "sha256:7b243c350046dede861bfad508d8b77f2541d01ae8b22e7d9636d49e29dcd958", size = 7707166, upload-time = "2026-08-14T23:01:40.968Z" },
|
|
172
|
+
{ url = "https://files.pythonhosted.org/packages/53/b3/2f44df43e7ad1e9a026fc73b1fc9d7debb567a498b2e206b99679537d669/fluidattacks_core-11.1.0-cp311-cp311-manylinux_2_39_x86_64.whl", hash = "sha256:7854b17713d19d7c040bfb417eb296c6603406f6c859cdf05fe29d698750a9bb", size = 7753826, upload-time = "2026-08-14T23:01:44.305Z" },
|
|
173
|
+
{ url = "https://files.pythonhosted.org/packages/39/a1/c2ee57b7a83c0e86ee6b5d689167a5ee73ffa9b05c67db38b505bfa2c0c3/fluidattacks_core-11.1.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:3badd4885abecd643baf825238e6f6b82fe2398f0a4e8804f37ae0b34fc4ce6a", size = 6872244, upload-time = "2026-08-15T01:40:44.871Z" },
|
|
174
|
+
{ url = "https://files.pythonhosted.org/packages/15/57/d549ccde69db6e8224879d0a00ed63d82730aa61b26be7ab16f37a918a1b/fluidattacks_core-11.1.0-cp312-cp312-manylinux_2_39_aarch64.whl", hash = "sha256:88fa53b4fd39f88c8b827fd7ad785e59e9a4bfbdaca1ab01ece0654dc021b4c8", size = 7704024, upload-time = "2026-08-14T23:01:46.132Z" },
|
|
175
|
+
{ url = "https://files.pythonhosted.org/packages/cd/99/0bdb17a8cea247220bf9e4b4af170e75924826ffebdd1e179b7ec3a6f801/fluidattacks_core-11.1.0-cp312-cp312-manylinux_2_39_x86_64.whl", hash = "sha256:7da16d8ae250737a7b98c98deadc505c112fd588ca82b7c6bfcbe9fedefe9a62", size = 7747039, upload-time = "2026-08-14T23:01:47.926Z" },
|
|
176
|
+
{ url = "https://files.pythonhosted.org/packages/e9/06/d083a678d7e0747815fae320dd848ce59d05e994d8b17b83dd7bc6e9c979/fluidattacks_core-11.1.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:7e49fc3eeb32a701ed5183bd8a4c264f41e0fdcc779449c361f9bcd59e910934", size = 6870692, upload-time = "2026-08-15T01:40:48.624Z" },
|
|
177
|
+
{ url = "https://files.pythonhosted.org/packages/7e/cb/be296c939c2476ea2163a668148946cd480124465a83a370916f175bff3c/fluidattacks_core-11.1.0-cp313-cp313-manylinux_2_39_aarch64.whl", hash = "sha256:101fdd324850ae9dea1608cd72215bb47a3208f87aaa7d4b7bd8ed29cd7774d0", size = 7702958, upload-time = "2026-08-14T23:01:42.658Z" },
|
|
178
|
+
{ url = "https://files.pythonhosted.org/packages/95/9e/5360bded44bdfa601a8ef27fe60432abb4aab0230f4dfd7d1a0a9f78a4f6/fluidattacks_core-11.1.0-cp313-cp313-manylinux_2_39_x86_64.whl", hash = "sha256:6246a72d57813caabfc924eb946f5cbc0196606dc5013e65a75b796aa28c2d88", size = 7746536, upload-time = "2026-08-14T23:01:49.555Z" },
|
|
179
179
|
]
|
|
180
180
|
|
|
181
181
|
[[package]]
|
|
@@ -200,7 +200,7 @@ dev = [
|
|
|
200
200
|
[package.metadata]
|
|
201
201
|
requires-dist = [
|
|
202
202
|
{ name = "fa-purity", specifier = ">=2.5.2,<3.0.0" },
|
|
203
|
-
{ name = "fluidattacks-core", specifier = ">=
|
|
203
|
+
{ name = "fluidattacks-core", specifier = ">=11.0.0,<12.0.0" },
|
|
204
204
|
{ name = "python-json-logger", specifier = ">=3.3.0,<5.0.0" },
|
|
205
205
|
]
|
|
206
206
|
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
cache-dir = ".ruff_cache"
|
|
2
|
-
line-length = 100
|
|
3
|
-
indent-width = 4
|
|
4
|
-
target-version = "py311"
|
|
5
|
-
|
|
6
|
-
[lint]
|
|
7
|
-
preview = true
|
|
8
|
-
explicit-preview-rules = true
|
|
9
|
-
select = ["ALL"]
|
|
10
|
-
extend-select = ["PLR1702", "PLR0916"]
|
|
11
|
-
ignore = [
|
|
12
|
-
"FBT001", # debatable
|
|
13
|
-
"FBT003", # conflict with the convention of denying kwargs
|
|
14
|
-
"RET503", # raises false positives
|
|
15
|
-
"N818", # semantics on names, the type already has the semantics
|
|
16
|
-
"TC001", # import cycles can be hidden
|
|
17
|
-
"TC002", # import cycles can be hidden
|
|
18
|
-
"TC003", # technical debt!
|
|
19
|
-
"FLY002", # f-string is not type safe: implicit str conversion can hide codification issues
|
|
20
|
-
"D203", # conflict with D211 one must be ignored
|
|
21
|
-
"D212", # conflict with D213 one must be ignored
|
|
22
|
-
"D104", # missing docs; technical debt!
|
|
23
|
-
"D103", # missing docs; technical debt!
|
|
24
|
-
"D102", # missing docs; technical debt!
|
|
25
|
-
"D101", # missing docs; technical debt!
|
|
26
|
-
"D100", # missing docs; technical debt!
|
|
27
|
-
]
|
|
28
|
-
fixable = ["ALL"]
|
|
29
|
-
unfixable = []
|
|
30
|
-
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
|
|
31
|
-
|
|
32
|
-
[lint.per-file-ignores]
|
|
33
|
-
"tests/**/*" = ["S101", "D100", "D103", "D104"]
|
|
34
|
-
"tests_fx/**/*" = ["S101", "D100", "D103", "D104"]
|
|
35
|
-
|
|
36
|
-
[format]
|
|
37
|
-
quote-style = "double"
|
|
38
|
-
indent-style = "space"
|
|
39
|
-
skip-magic-trailing-comma = false
|
|
40
|
-
line-ending = "lf"
|
|
41
|
-
|
|
42
|
-
[lint.mccabe]
|
|
43
|
-
max-complexity = 8
|
|
44
|
-
|
|
45
|
-
[lint.pylint]
|
|
46
|
-
max-branches = 8
|
|
47
|
-
max-nested-blocks = 4
|
|
48
|
-
max-statements = 25
|
|
49
|
-
max-bool-expr = 5
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{fluidattacks_utils_logger-3.0.4 → fluidattacks_utils_logger-3.0.6}/fluidattacks_utils_logger/env.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|