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.
Files changed (23) hide show
  1. {fluidattacks_utils_logger-3.0.4 → fluidattacks_utils_logger-3.0.6}/PKG-INFO +2 -2
  2. {fluidattacks_utils_logger-3.0.4 → fluidattacks_utils_logger-3.0.6}/fluidattacks_utils_logger/__init__.py +1 -1
  3. {fluidattacks_utils_logger-3.0.4 → fluidattacks_utils_logger-3.0.6}/pyproject.toml +1 -1
  4. fluidattacks_utils_logger-3.0.6/ruff.toml +58 -0
  5. {fluidattacks_utils_logger-3.0.4 → fluidattacks_utils_logger-3.0.6}/uv.lock +12 -12
  6. fluidattacks_utils_logger-3.0.4/ruff.toml +0 -49
  7. {fluidattacks_utils_logger-3.0.4 → fluidattacks_utils_logger-3.0.6}/.envrc +0 -0
  8. {fluidattacks_utils_logger-3.0.4 → fluidattacks_utils_logger-3.0.6}/build/default.nix +0 -0
  9. {fluidattacks_utils_logger-3.0.4 → fluidattacks_utils_logger-3.0.6}/build/filter.nix +0 -0
  10. {fluidattacks_utils_logger-3.0.4 → fluidattacks_utils_logger-3.0.6}/flake.lock +0 -0
  11. {fluidattacks_utils_logger-3.0.4 → fluidattacks_utils_logger-3.0.6}/flake.nix +0 -0
  12. {fluidattacks_utils_logger-3.0.4 → fluidattacks_utils_logger-3.0.6}/fluidattacks_utils_logger/env.py +0 -0
  13. {fluidattacks_utils_logger-3.0.4 → fluidattacks_utils_logger-3.0.6}/fluidattacks_utils_logger/handlers.py +0 -0
  14. {fluidattacks_utils_logger-3.0.4 → fluidattacks_utils_logger-3.0.6}/fluidattacks_utils_logger/levels.py +0 -0
  15. {fluidattacks_utils_logger-3.0.4 → fluidattacks_utils_logger-3.0.6}/fluidattacks_utils_logger/logger.py +0 -0
  16. {fluidattacks_utils_logger-3.0.4 → fluidattacks_utils_logger-3.0.6}/fluidattacks_utils_logger/py.typed +0 -0
  17. {fluidattacks_utils_logger-3.0.4 → fluidattacks_utils_logger-3.0.6}/mypy.ini +0 -0
  18. {fluidattacks_utils_logger-3.0.4 → fluidattacks_utils_logger-3.0.6}/tests/__init__.py +0 -0
  19. {fluidattacks_utils_logger-3.0.4 → fluidattacks_utils_logger-3.0.6}/tests/arch/__init__.py +0 -0
  20. {fluidattacks_utils_logger-3.0.4 → fluidattacks_utils_logger-3.0.6}/tests/arch/arch.py +0 -0
  21. {fluidattacks_utils_logger-3.0.4 → fluidattacks_utils_logger-3.0.6}/tests/arch/test_arch.py +0 -0
  22. {fluidattacks_utils_logger-3.0.4 → fluidattacks_utils_logger-3.0.6}/tests/py.typed +0 -0
  23. {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.4
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 >=9.0.0, <10.0.0
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
@@ -15,7 +15,7 @@ from .levels import (
15
15
  LoggingLvl,
16
16
  )
17
17
 
18
- __version__ = "3.0.4"
18
+ __version__ = "3.0.6"
19
19
 
20
20
 
21
21
  def set_main_log(
@@ -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 >=9.0.0, <10.0.0",
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-07-30T14:48:09.928643Z"
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 = "9.16.1"
167
+ version = "11.1.0"
168
168
  source = { registry = "https://pypi.org/simple" }
169
169
  wheels = [
170
- { url = "https://files.pythonhosted.org/packages/84/fc/427308a55417a9acaacda8eeeaeb45e0a89f7a893489daa0ef875dfc04e1/fluidattacks_core-9.16.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:b0f104eb8010ae4a837b74d3a9d21c859715403461086a1d899565898bfa2491", size = 6668755, upload-time = "2026-07-29T17:28:20.541Z" },
171
- { url = "https://files.pythonhosted.org/packages/30/ac/1f2e896873d76ea88a9c9ab25e402b5c922b7a665d0b0dffbc9f7155ea62/fluidattacks_core-9.16.1-cp311-cp311-manylinux_2_39_aarch64.whl", hash = "sha256:ec4678246f1fd7ef44c56da0b52684b519093de94d041588efa64b21b83f5a1f", size = 7657326, upload-time = "2026-07-29T17:05:42.773Z" },
172
- { url = "https://files.pythonhosted.org/packages/c8/c8/1904496513bee323d97898142b5596481817486cda146b5daec63c5ad230/fluidattacks_core-9.16.1-cp311-cp311-manylinux_2_39_x86_64.whl", hash = "sha256:51233bdac76f6f8283feecb36d14995d1705004709355257c736adc61c13010a", size = 7698967, upload-time = "2026-07-29T17:05:40.424Z" },
173
- { url = "https://files.pythonhosted.org/packages/50/b8/cf42318015c18f8a5887f4e8c5095840770c701fd1cb02ce5f1f08f0b10f/fluidattacks_core-9.16.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:2672b985682912855da9b469c27a400ca97a1ba0e37d801cac4a2f39e3d5e729", size = 6663621, upload-time = "2026-07-29T17:28:28.755Z" },
174
- { url = "https://files.pythonhosted.org/packages/24/79/260b74be24c8a1c486f99e153d4455bb108c81da3ee36dba51dd14ff110e/fluidattacks_core-9.16.1-cp312-cp312-manylinux_2_39_aarch64.whl", hash = "sha256:e44d2817ea6d6b9750ba6d5ba8a982561838c52fe5995f300eadd19ad48be49f", size = 7652321, upload-time = "2026-07-29T17:05:44.216Z" },
175
- { url = "https://files.pythonhosted.org/packages/58/5a/a3eaf47d643c8a45a623480e7202ace1bd0d7a09c77c2761fba633f99bd3/fluidattacks_core-9.16.1-cp312-cp312-manylinux_2_39_x86_64.whl", hash = "sha256:1ddb34d566f273bd3f7cab97818d64f57408d43b23634998db79c567dff738c1", size = 7689859, upload-time = "2026-07-29T17:05:46.034Z" },
176
- { url = "https://files.pythonhosted.org/packages/3f/d5/c484ed982d7d228806b76aab89e13daac2e46fa27c800b637e7f619481d9/fluidattacks_core-9.16.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:cd912778859b713a405e0ac9b3655f3e7ca1a59f4880932098c57627a35eb580", size = 6662333, upload-time = "2026-07-29T17:28:13.576Z" },
177
- { url = "https://files.pythonhosted.org/packages/19/f2/ab7642e45b0cd493bf947b86ef95fe03676891db792aacc878833de7bb9a/fluidattacks_core-9.16.1-cp313-cp313-manylinux_2_39_aarch64.whl", hash = "sha256:a68d0c11678982164b63d848516724222514e9cb950e006a1f2e8619ec4ef9c3", size = 7651973, upload-time = "2026-07-29T17:05:38.782Z" },
178
- { url = "https://files.pythonhosted.org/packages/e8/21/bab0546b6a2e9e60d0b21b95328f80eb6c2be032d26a730b3a2ed0c43338/fluidattacks_core-9.16.1-cp313-cp313-manylinux_2_39_x86_64.whl", hash = "sha256:39acb748c0f645bd4e4e555716339dec1db28ec6db8a66c614872455ffad6af7", size = 7689502, upload-time = "2026-07-29T17:05:36.848Z" },
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 = ">=9.0.0,<10.0.0" },
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