Skip to content

Commit aa5b404

Browse files
authored
Feat/validate and publish (#28) (#29)
* chore: ruff configuration * chore: test cleanup * chore: ruff cleanup * chore: update deps * feat: validate+publish * test: test for validation and publication
1 parent 0e8ee42 commit aa5b404

File tree

15 files changed

+43
-21
lines changed

15 files changed

+43
-21
lines changed

client/FSEgtwUtils/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
from .pdf import create_pdf_with_attachment
22
from .jwtGenerator import JwtGenerator, JwtData
33
from .cda import get_available_cda
4+
5+
__all__ = ["create_pdf_with_attachment", "JwtData", "JwtGenerator", "get_available_cda"]

client/FSEgtwUtils/jwtGenerator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import uuid
44
import time
55
import json
6-
from typing import Tuple, Dict, TypedDict
6+
from typing import Tuple, TypedDict
77

88

99
@dataclasses.dataclass

client/FSEgtwUtils/pdf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ def create_pdf(text="Test PDF") -> str:
77
pdf = FPDF()
88
pdf.add_page()
99
pdf.set_font("Arial", size=15)
10-
for l in text.splitlines():
11-
pdf.cell(0, 10, l, ln=1)
10+
for line in text.splitlines():
11+
pdf.cell(0, 10, line, ln=1)
1212
return pdf.output(dest="S")
1313

1414

client/FSEgtwUtils/test_jwtGenerator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from cryptography.x509.oid import NameOID
77
import datetime
88
from tempfile import NamedTemporaryFile
9-
from pytest import fixture, mark
9+
from pytest import fixture
1010
from typing import NamedTuple
1111

1212

client/static/client/bootstrap-italia/css/bootstrap-italia-comuni.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

client/static/client/bootstrap-italia/css/bootstrap-italia.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

client/static/client/bootstrap-italia/css/bootstrap-italia.min.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

client/static/client/bootstrap-italia/js/bootstrap-italia.bundle.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

client/static/client/bootstrap-italia/js/bootstrap-italia.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

client/static/client/bootstrap-italia/version.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)