From b8b472450dcd7e0af264472f184064e455e6aab8 Mon Sep 17 00:00:00 2001 From: Anthony Parisot Date: Wed, 20 May 2026 14:52:49 +0200 Subject: [PATCH 1/2] maj ci --- .github/workflows/ci.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 322ef05..7b839de 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,7 +34,6 @@ jobs: docs: runs-on: ubuntu-latest - needs: lint if: github.event_name == 'push' && github.ref == 'refs/heads/main' permissions: contents: read From 84f0cfc872ff3b53f82e1a150cfc4034d25dc4c9 Mon Sep 17 00:00:00 2001 From: Anthony Parisot Date: Wed, 20 May 2026 14:54:21 +0200 Subject: [PATCH 2/2] correct ci --- .github/workflows/ci.yml | 1 + ourocode/eurocode/ec5/element_droit/verification_EC5.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7b839de..322ef05 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,6 +34,7 @@ jobs: docs: runs-on: ubuntu-latest + needs: lint if: github.event_name == 'push' && github.ref == 'refs/heads/main' permissions: contents: read diff --git a/ourocode/eurocode/ec5/element_droit/verification_EC5.py b/ourocode/eurocode/ec5/element_droit/verification_EC5.py index d8075c7..458ca23 100644 --- a/ourocode/eurocode/ec5/element_droit/verification_EC5.py +++ b/ourocode/eurocode/ec5/element_droit/verification_EC5.py @@ -522,7 +522,7 @@ def _verify_combo_elu( N_pos = efforts["Nx"]["Max"][0].value # N, > 0 si compresion N_neg = efforts["Nx"]["Min"][0].value # N, < 0 si traction - if not "FIRE" in combo_name: + if "FIRE" not in combo_name: if N_pos > 1e-9 and N_pos >= abs(N_neg): compression_obj = Compression._from_parent_class( barre,