Skip to content

Commit 2d24b77

Browse files
MaxNumeriquegithub-actions[bot]
authored andcommitted
Apply prepare changes
1 parent cfcfdd4 commit 2d24b77

File tree

4 files changed

+20
-2
lines changed

4 files changed

+20
-2
lines changed

commitlint.config.js

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
export default {
2+
extends: ["@commitlint/config-angular"],
3+
rules: {
4+
"scope-empty": [2, "never"],
5+
"subject-empty": [2, "never"],
6+
"subject-max-length": [0],
7+
"body-leading-blank": [0],
8+
"footer-leading-blank": [0],
9+
"header-max-length": [0],
10+
"scope-case": [0],
11+
"subject-case": [0],
12+
"subject-full-stop": [0],
13+
"type-case": [0],
14+
"type-empty": [0],
15+
},
16+
}

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# This file is autogenerated by pip-compile with Python 3.12
33
# by the following command:
44
#
5-
# pip-compile requirements.in
5+
# pip-compile --pre requirements.in
66
#
77
asgiref==3.9.1
88
# via flask

src/opengeodeweb_back/database.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
from sqlalchemy import create_engine
22
from sqlalchemy.orm import sessionmaker
33

4+
45
def get_engine(db_path: str):
56
return create_engine(f"sqlite:///{db_path}", echo=False)
67

8+
79
def get_session(engine):
810
Session = sessionmaker(bind=engine)
911
return Session()

src/opengeodeweb_back/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ class Data(Base):
1818
native_file_name = Column(String, nullable=False)
1919
viewable_file_name = Column(String, nullable=False)
2020
geode_object = Column(String, nullable=False)
21-
binary_light_viewable = Column(String, nullable=True)
21+
binary_light_viewable = Column(String, nullable=True)
2222
input_files = Column(JSON, nullable=True)
2323
created_at = Column(DateTime, default=datetime.now)

0 commit comments

Comments
 (0)