Skip to content

Commit 2a1b279

Browse files
committed
Pilot HDC 1.3
1 parent b7eb020 commit 2a1b279

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+27
-6417
lines changed

.dockerignore

+4-8
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,13 @@
1+
# Any hidden file/folder
2+
.*
3+
14
# Folders
2-
.git
3-
.venv
4-
.env
55
venv
66
env
77
kubernetes
88

99
# Files
10-
.DS_Store
11-
.env.local
12-
.gitignore
13-
.gitlab-ci*
14-
gitlab-ci*
1510
Dockerfile*
1611
Jenkinsfile
1712
*.log
13+
docker-compose.yaml

.env.example

+4-4
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ APP_NAME=bff-cli
1313
version=2.0.0
1414
port=5080
1515
host=0.0.0.0
16+
17+
LOGGING_LEVEL=20
18+
LOGGING_FORMAT=json
19+
1620
OPEN_TELEMETRY_HOST=0.0.0.0
1721
OPEN_TELEMETRY_PORT=6831
1822
OPEN_TELEMETRY_ENABLED=false
19-
LOG_LEVEL_DEFAULT=30
20-
LOG_LEVEL_FILE=30
21-
LOG_LEVEL_STDOUT=30
22-
LOG_LEVEL_STDERR=40
2323

2424
# is sensitive/secret
2525
CLI_SECRET=

.pre-commit-config.yaml

+19-8
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
1+
default_language_version:
2+
python: python3.10
3+
14
repos:
25

36
- repo: https://github.com/pre-commit/pre-commit-hooks
4-
rev: v4.3.0
7+
rev: v4.6.0
58
hooks:
69
- id: check-added-large-files
710
- id: check-docstring-first
@@ -12,8 +15,16 @@ repos:
1215
- id: end-of-file-fixer
1316
- id: trailing-whitespace
1417

18+
- repo: https://github.com/asottile/pyupgrade
19+
rev: v3.17.0
20+
hooks:
21+
- id: pyupgrade
22+
args: [
23+
'--py310-plus',
24+
]
25+
1526
- repo: https://github.com/psf/black
16-
rev: 22.8.0
27+
rev: 24.8.0
1728
hooks:
1829
- id: black
1930
args: [
@@ -22,7 +33,7 @@ repos:
2233
]
2334

2435
- repo: https://github.com/PyCQA/isort
25-
rev: 5.12.0
36+
rev: 5.13.2
2637
hooks:
2738
- id: isort
2839
args: [
@@ -46,17 +57,18 @@ repos:
4657
'flake8-comprehensions==3.10.0', # C4
4758
'flake8-debugger==4.1.2', # T1
4859
'flake8-logging-format==0.7.5', # G
60+
'flake8-use-fstring==1.4.0', # FS
4961
'flake8-print==5.0.0', # T2
5062
]
5163
args: [
52-
'--select=E,W,F,C,B,A,C4,T1,G,T2',
64+
'--select=E,W,F,C,B,A,C4,T1,G,FS,T2',
5365
'--ignore=E203,W503,B008,B305,A003,G004',
5466
'--max-complexity=10',
5567
'--max-line-length=120',
5668
]
5769

58-
- repo: https://github.com/myint/docformatter
59-
rev: v1.5.0
70+
- repo: https://github.com/PyCQA/docformatter
71+
rev: v1.7.5
6072
hooks:
6173
- id: docformatter
6274
args: [
@@ -66,12 +78,11 @@ repos:
6678
]
6779

6880
- repo: https://github.com/Lucas-C/pre-commit-hooks
69-
rev: v1.4.2
81+
rev: v1.5.5
7082
hooks:
7183
- id: insert-license
7284
files: \.py$
7385
args: [
7486
'--license-filepath=COPYRIGHT',
7587
'--comment-style=#',
76-
'--use-current-year',
7788
]

tests/CONTRIBUTING.md

-38
This file was deleted.

tests/COPYRIGHT

-5
This file was deleted.

tests/Dockerfile

-10
This file was deleted.

tests/Jenkinsfile

-128
This file was deleted.

0 commit comments

Comments
 (0)