c2cwsgiutils 6.2.0.dev140__py3-none-any.whl → 6.2.0.dev141__py3-none-any.whl

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.
@@ -95,10 +95,10 @@ class Connection:
95
95
  check_response(r, expected_status, cache_expected=cache_expected)
96
96
  self._check_cors(cors, r)
97
97
  r.raw.decode_content = True
98
- doc = etree.parse(r.raw) # noqa: S320
98
+ doc = etree.parse(r.raw) # noqa: S320, RUF100
99
99
  if schema is not None:
100
100
  with schema.open(encoding="utf-8") as schema_file:
101
- xml_schema = etree.XMLSchema(etree.parse(schema_file)) # noqa: S320
101
+ xml_schema = etree.XMLSchema(etree.parse(schema_file)) # noqa: S320, RUF100
102
102
  xml_schema.assertValid(doc)
103
103
  return doc
104
104
 
@@ -223,7 +223,7 @@ def check_screenshot(
223
223
  media = []
224
224
 
225
225
  if not Path(__file__).parent.joinpath("node_modules").exists():
226
- subprocess.run(["npm", "install"], cwd=Path(__file__).parent, check=True) # noqa: S603,S607
226
+ subprocess.run(["npm", "install"], cwd=Path(__file__).parent, check=True) # noqa: S607, S603, RUF100
227
227
 
228
228
  image_file_basename = Path(expected_filename).stem
229
229
  if image_file_basename.endswith(".expected"):
@@ -33,7 +33,7 @@ def _get_packages_version() -> dict[str, str]:
33
33
  result = {}
34
34
  with open(os.devnull, "w", encoding="utf-8") as devnull: # noqa: PTH123
35
35
  for comp in (
36
- subprocess.check_output(["python3", "-m", "pip", "freeze"], stderr=devnull) # noqa: S603,S607
36
+ subprocess.check_output(["python3", "-m", "pip", "freeze"], stderr=devnull) # noqa: S607, S603, RUF100
37
37
  .decode()
38
38
  .strip()
39
39
  .split("\n")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: c2cwsgiutils
3
- Version: 6.2.0.dev140
3
+ Version: 6.2.0.dev141
4
4
  Summary: Common utilities for Camptocamp WSGI applications
5
5
  License: BSD-2-Clause
6
6
  Keywords: geo,gis,sqlalchemy,orm,wsgi
@@ -1,7 +1,7 @@
1
1
  c2cwsgiutils/__init__.py,sha256=DecyA-tMmcT1jt2Bd7zEO9Yse8WcOKEEppxS6omH-mY,4047
2
2
  c2cwsgiutils/acceptance/__init__.py,sha256=mSv7pmy7fF6i3JfNX_Ws-8x6jHgT7W3AK4bZTnkoosI,1515
3
- c2cwsgiutils/acceptance/connection.py,sha256=nXwDSRpqVaOBr_mhZ3jdOSJIxHCHub6atADa04dpiO4,9911
4
- c2cwsgiutils/acceptance/image.py,sha256=P32pqu4ndD9K6UNglPTxKAIKbcfyjgt3yGaNFsrnWRU,9356
3
+ c2cwsgiutils/acceptance/connection.py,sha256=94nHiSMyjsBMxyGyhyjsDjOHSdza-_V8B1ZXVZejH0I,9927
4
+ c2cwsgiutils/acceptance/image.py,sha256=P74RKHGqnK4BI08jkOA_pkJ7xUvM6D1iPs5vOcY3bVo,9365
5
5
  c2cwsgiutils/acceptance/package-lock.json,sha256=mbtVRfmfSz8sHJBr9f3VkpskhGIpPpeNVqxH0ufrxaY,40162
6
6
  c2cwsgiutils/acceptance/package.json,sha256=mqKGC504WU2BHzCQHcqP_obg_fyeOK9eFNxE92ILzRE,102
7
7
  c2cwsgiutils/acceptance/print.py,sha256=i6UxfSuZ8z9grC_P2qn0yU6RXLbNCcopPMOgjc8D1rI,2555
@@ -39,7 +39,7 @@ c2cwsgiutils/redis_utils.py,sha256=8lxqVZTMzHMoo-QOxqWLcNdVE7HF8N8JZEH_nocv2NY,4
39
39
  c2cwsgiutils/request_tracking/__init__.py,sha256=ONYs7oH5YK90_-0liz6fwP3wQgzC3yHdcBPZf0v_tzA,4194
40
40
  c2cwsgiutils/request_tracking/_sql.py,sha256=Z3xVF1Le_2_O2y5K4B2qQy9iqJo4N0uRmYQ6VND5sHw,585
41
41
  c2cwsgiutils/scripts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
42
- c2cwsgiutils/scripts/genversion.py,sha256=rxaoxgH4ZpaLNgGzStLKb0dGkha-ZCLWfzaicu-_m98,2043
42
+ c2cwsgiutils/scripts/genversion.py,sha256=vDD2VaCf80moe6jL7A1V40caU4D2URyib0oBzqhmMj0,2052
43
43
  c2cwsgiutils/scripts/stats_db.py,sha256=FY6c8ZaJH6s2Tq923tWISBAYN751ojm8O4KiakHIGx8,10615
44
44
  c2cwsgiutils/scripts/test_print.py,sha256=-ofACKJfMF7GJv5eBwCFQKePodpZWxFTbn05AHMm8qQ,2139
45
45
  c2cwsgiutils/sentry.py,sha256=eKY3n7Fu-Mtoe_iqKFIlE4cDbCw3nZ2hMZ5gqmOh5ZE,6913
@@ -61,8 +61,8 @@ c2cwsgiutils/stats_pyramid/_db_spy.py,sha256=_E5_KFipmsOdqD849mde4EDIlXS7ae0oClZ
61
61
  c2cwsgiutils/stats_pyramid/_pyramid_spy.py,sha256=KFxxKdEKrmDeA1zpps-BPiB2c4hhR2GlgJvq6KOTyjU,3498
62
62
  c2cwsgiutils/templates/index.html.mako,sha256=Yqf6xkq-RtlUnHBAmJFMCJO_XwqGVDQfSjOTx3p70_o,1416
63
63
  c2cwsgiutils/version.py,sha256=b8rwN7vATtBWvVKyvxW_-ixbmMJGQBZhW3gNvGdAyVg,3156
64
- c2cwsgiutils-6.2.0.dev140.dist-info/LICENSE,sha256=6bEOU0n7ued3SA-DQCsHQaACONMMRzGHmH5XhDVeD-U,1304
65
- c2cwsgiutils-6.2.0.dev140.dist-info/METADATA,sha256=aayHvl42YFjBkBaBuXHarW7TFwPfhGSuX3yGxbYseSQ,37566
66
- c2cwsgiutils-6.2.0.dev140.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
67
- c2cwsgiutils-6.2.0.dev140.dist-info/entry_points.txt,sha256=ujgqMTL1awN9qDg8WXmrF7m0fgR-hslUM6zKH86pvy0,703
68
- c2cwsgiutils-6.2.0.dev140.dist-info/RECORD,,
64
+ c2cwsgiutils-6.2.0.dev141.dist-info/LICENSE,sha256=6bEOU0n7ued3SA-DQCsHQaACONMMRzGHmH5XhDVeD-U,1304
65
+ c2cwsgiutils-6.2.0.dev141.dist-info/METADATA,sha256=fSwFgPs5OMQ3rh1rxDb2OnFTiME2Yq1BntJqhmuPPFc,37566
66
+ c2cwsgiutils-6.2.0.dev141.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
67
+ c2cwsgiutils-6.2.0.dev141.dist-info/entry_points.txt,sha256=ujgqMTL1awN9qDg8WXmrF7m0fgR-hslUM6zKH86pvy0,703
68
+ c2cwsgiutils-6.2.0.dev141.dist-info/RECORD,,