From b6e4744085a60000db0b444d20ed0f9b249f42d7 Mon Sep 17 00:00:00 2001 From: Emmanuel Garette Date: Thu, 13 Feb 2025 13:16:05 +0100 Subject: [PATCH] fix: separate user-data and structural --- pyproject.toml | 1 + src/rougail/structural_bitwarden/__init__.py | 22 ------------ .../__pycache__/__init__.cpython-313.pyc | Bin 952 -> 0 bytes .../__pycache__/config.cpython-313.pyc | Bin 1193 -> 0 bytes .../__pycache__/object_model.cpython-313.pyc | Bin 1381 -> 0 bytes src/rougail/structural_bitwarden/config.py | 32 ------------------ .../structural_bitwarden/object_model.py | 31 ----------------- 7 files changed, 1 insertion(+), 85 deletions(-) delete mode 100644 src/rougail/structural_bitwarden/__init__.py delete mode 100644 src/rougail/structural_bitwarden/__pycache__/__init__.cpython-313.pyc delete mode 100644 src/rougail/structural_bitwarden/__pycache__/config.cpython-313.pyc delete mode 100644 src/rougail/structural_bitwarden/__pycache__/object_model.cpython-313.pyc delete mode 100644 src/rougail/structural_bitwarden/config.py delete mode 100644 src/rougail/structural_bitwarden/object_model.py diff --git a/pyproject.toml b/pyproject.toml index d9e0000..3768315 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,6 +26,7 @@ classifiers = [ ] dependencies = [ "rougail >= 1.1,<2", + "rougail-structural == 0.1.0a0", ] [project.urls] diff --git a/src/rougail/structural_bitwarden/__init__.py b/src/rougail/structural_bitwarden/__init__.py deleted file mode 100644 index d5d2b22..0000000 --- a/src/rougail/structural_bitwarden/__init__.py +++ /dev/null @@ -1,22 +0,0 @@ -""" -Silique (https://www.silique.fr) -Copyright (C) 2025 - -This program is free software: you can redistribute it and/or modify it -under the terms of the GNU Lesser General Public License as published by the -Free Software Foundation, either version 3 of the License, or (at your -option) any later version. - -This program is distributed in the hope that it will be useful, but WITHOUT -ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more -details. - -You should have received a copy of the GNU Lesser General Public License -along with this program. If not, see . -""" -from .object_model import Variable - - -__all__ = ("Variable",) - diff --git a/src/rougail/structural_bitwarden/__pycache__/__init__.cpython-313.pyc b/src/rougail/structural_bitwarden/__pycache__/__init__.cpython-313.pyc deleted file mode 100644 index 19abe5496f81de7ad0a1fd9c78dbc65f778d64b8..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 952 zcmah|O>fgc5VezvR)$KPP>&6r!dL4QXUMR5@82du%V-c*E{GAxC}$ zKcXl8PdIYoR#XsIX46JJaOfWFot=+;Z|3dI?yl$1`uqJV|6OyOAJ*6`ve)ZokA7dB z&{0n4hP89|T}{=%32UmJ*Be{x8wGkH7yMI&uwNK6(}%vlSS(ul_OO+yhS!m^rQ&&E zV87FVgO>-dJufP_hMAJNVpE`PrVv5P%q*C~Ls-fR5>|r3lxw5-q%sKH04q~pDwxWY zXG=Qpsxn0dra&;LrW$0nHckg4=%d!;JH-+e6ELhMf+x`D36>gx(e?I37ns6iX|uep z1rgqXfUczC%y3yY0Xg{<%u#8w;nn7zyJ}4!Q2WeS+{%+Po75n%OAw53ZSq?G^S-B- z0x#Ft3ppb;1yv)$3oZmq5GsvXC7M8ufXiNVb}@>)_FxQ`?I36mqVXGwG=(HD&hfSm zpUwm)a@0}9O0%?>-=74XGm3A&?e%-n*uw7iqQOZRdfkfv+AwSfQLi)Vw*wfCg5gDY z(gFynEw;rEcQsoNN1>OZVO(fpJf=}5`-y?rP@)Q=Cl%4jNml?Kny zMpcQaNPh8zTWP0Q`fzR&l}`i!&u2o(Gj4UD#k#|)J&;j z_h2SVh-m?eC0rZDhoxb_4bUP9q=J!5csj!iuPhR#z~l@JQzH#BT^t_w4q%sQjkd?E zV2TRZFNcE1u*+jsXa*G1+Z&y;1co!~uZLux>byw5Ha1`?rW+)dL zD?Y?gYD6Xy$mxXPNMpt)h>Jpu#8`Fmm$5x6WRWe(L@+1pL44g53TZY$BhCkwg-a4< zMd?eG1vqy*a~(YNy}^-FT^`c-Z){5v#d0*p5f72AW~Oi{NYzx#l&XkVo8h41;?Ek7 z&!WKXz|9Ejq3hSLlXjz5of>k>+k_RBhioll3_!)_=lHl?uiS!;Sk*$Z$H>U4A#g(C zh$!40qHT1jxxxVqW dvF0@Yy$W;tKW~zz_pN2M%jEPQZ(ECS-vJNWaB2Vm diff --git a/src/rougail/structural_bitwarden/__pycache__/object_model.cpython-313.pyc b/src/rougail/structural_bitwarden/__pycache__/object_model.cpython-313.pyc deleted file mode 100644 index b81e69a9c44918134be099c29b18d382b2e055fa..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1381 zcmaJ>Uuzpj5Z{wde|$|SZBrVDQijq{3lyFIU`pdskd5Uiu_d9C8VrVGb+@|Pu)0-t z_oV8reQLfy=x4|mDn-z~^eJyCPTxCslIoVyF5GH%X6HBao0--1?b{B)b@=P6=*J=< zzh#HbDy@a^P^juuYl z+sdMQ>*&yuh)NBY$q_IlfdOVrX*>f`Sp`_5)sdRBLrs>j0y)i`YMA9>&3EnB_&4Dj zULo)#Pdb)Uq!A+;5}R`&V8kHRY@CX^GfE9SZ4VxGhXZJKF5zjj-*0vXmq&S>C0f~x zt#J5cDtOiasuWGk0&{jQPWva1@P6~Secm2iW*up@2c1*TgI2c>P3SfIgZ9bryxE7| zu;1%?rwsrP%Yyu!|0(ACl5MnxG*u;SG874#_z>(RM@V`MF zDr6F^2FUzvP>z6)A(5sIbH#BWjLhrykM21)-K#@82^w`c{1OHXYr>!>Xu#^=rJ47^ z!EPOnr8Y9D!$lKdcYkkh@4?=|?iT<@Td zM6N$W%}a7cl!ec);9078pLhjjUzM)PUh#9ZdbX-WrCNDe{e~(|M}ocHMs;hsHR9Ry zhb(zTI<@Mu>iY?uFyCJ~zK;{1icG%c`_EG<)|PjDf6SFOf+sAIzOSkXwX{c4iY3}; zg4N0=S)=QRzOS=W;8T-7Qo~TKw$SAoKeFt)v79hBO420#){VGvu{bm4Dw#&uTUV># zMm8!9Oo|W8|0{1-j-Ii=WXUqoz(0pFqUKx1P~XDs2lDfs?eE$z%un{VdT(Q{S^2F_ zt+K56ekcRXwrmzto. -""" - - -def get_rougail_config( - *, - backward_compatibility: bool = True, # pylint: disable=unused-argument -) -> dict: - return { - "name": "bitwarden", - "process": "structural", - "level": 90, - } - - -__all__ = ("get_rougail_config",) - diff --git a/src/rougail/structural_bitwarden/object_model.py b/src/rougail/structural_bitwarden/object_model.py deleted file mode 100644 index ce7370b..0000000 --- a/src/rougail/structural_bitwarden/object_model.py +++ /dev/null @@ -1,31 +0,0 @@ -""" -Silique (https://www.silique.fr) -Copyright (C) 2025 - -distribued with GPL-2 or later license - -This program is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -""" -from typing import Optional -from pydantic import BaseModel - - -class Variable(BaseModel): - bitwarden: bool=False - - -__all__ = ('Variable',) - -