From: Jérôme Benoit Date: Thu, 27 Jun 2024 20:29:24 +0000 (+0200) Subject: chore(ocpp-server): refine ruff linter configuration X-Git-Tag: v1.3.7~15 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=a6fac14d419b2f278ce16d4505018d2ac8a179a1;p=e-mobility-charging-stations-simulator.git chore(ocpp-server): refine ruff linter configuration Signed-off-by: Jérôme Benoit --- diff --git a/package.json b/package.json index c439c207..d6a268b2 100644 --- a/package.json +++ b/package.json @@ -104,7 +104,7 @@ "http-status-codes": "^2.3.0", "logform": "^2.6.0", "mnemonist": "0.40.0-rc1", - "mongodb": "^6.7.0", + "mongodb": "^6.8.0", "poolifier": "^4.0.15", "rambda": "^9.2.1", "tar": "^7.4.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 9ea9e948..7c0fd876 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -54,8 +54,8 @@ importers: specifier: 0.40.0-rc1 version: 0.40.0-rc1 mongodb: - specifier: ^6.7.0 - version: 6.7.0(socks@2.8.3) + specifier: ^6.8.0 + version: 6.8.0(socks@2.8.3) poolifier: specifier: ^4.0.15 version: 4.0.15 @@ -1692,8 +1692,8 @@ packages: engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} hasBin: true - bson@6.7.0: - resolution: {integrity: sha512-w2IquM5mYzYZv6rs3uN2DZTOBe2a0zXLj53TGDqwF4l6Sz/XsISrisXOJihArF9+BZ6Cq/GjVht7Sjfmri7ytQ==} + bson@6.8.0: + resolution: {integrity: sha512-iOJg8pr7wq2tg/zSlCCHMi3hMm5JTOxLTagf3zxhcenHsFp+c6uOs6K7W5UE7A4QIJGtqh/ZovFNMP4mOPJynQ==} engines: {node: '>=16.20.1'} buffer-equal@0.0.1: @@ -4251,8 +4251,8 @@ packages: mongodb-connection-string-url@3.0.1: resolution: {integrity: sha512-XqMGwRX0Lgn05TDB4PyG2h2kKO/FfWJyCzYQbIhXUxz7ETt0I/FqHjUeqj37irJ+Dl1ZtU82uYyj14u2XsZKfg==} - mongodb@6.7.0: - resolution: {integrity: sha512-TMKyHdtMcO0fYBNORiYdmM25ijsHs+Njs963r4Tro4OQZzqYigAzYQouwWRg4OIaiLRUEGUh/1UAcH5lxdSLIA==} + mongodb@6.8.0: + resolution: {integrity: sha512-HGQ9NWDle5WvwMnrvUxsFYPd3JEbqD3RgABHBQRuoCEND0qzhsd0iH5ypHsf1eJ+sXmvmyKpP+FLOKY8Il7jMw==} engines: {node: '>=16.20.1'} peerDependencies: '@aws-sdk/credential-providers': ^3.188.0 @@ -8012,7 +8012,7 @@ snapshots: node-releases: 2.0.14 update-browserslist-db: 1.0.16(browserslist@4.23.1) - bson@6.7.0: {} + bson@6.8.0: {} buffer-equal@0.0.1: {} @@ -10910,10 +10910,10 @@ snapshots: '@types/whatwg-url': 11.0.5 whatwg-url: 13.0.0 - mongodb@6.7.0(socks@2.8.3): + mongodb@6.8.0(socks@2.8.3): dependencies: '@mongodb-js/saslprep': 1.1.7 - bson: 6.7.0 + bson: 6.8.0 mongodb-connection-string-url: 3.0.1 optionalDependencies: socks: 2.8.3 diff --git a/tests/ocpp-server/pyproject.toml b/tests/ocpp-server/pyproject.toml index f5c44fdf..25b3fd08 100644 --- a/tests/ocpp-server/pyproject.toml +++ b/tests/ocpp-server/pyproject.toml @@ -20,7 +20,7 @@ format = "ruff format . && ruff check --fix ." lint = "ruff format --check --diff . && ruff check --diff ." [tool.ruff.lint] -select = ["E", "W", "F", "B", "Q", "I"] +select = ["E", "W", "F", "ASYNC", "S", "B", "A", "Q", "RUF", "I"] [build-system]