Skip to content

Commit e69d383

Browse files
authored
Merge branch 'master' into master
2 parents ab2a4f5 + 5af4a86 commit e69d383

File tree

586 files changed

+142446
-3621
lines changed

Some content is hidden

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

586 files changed

+142446
-3621
lines changed

.github/workflows/datadog-synthetics.yml

Lines changed: 0 additions & 38 deletions
This file was deleted.

.github/workflows/python.yml

Lines changed: 9 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
types: [opened, synchronize, reopened]
66
push:
77
branches:
8-
- main
8+
- main
99

1010
concurrency:
1111
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
@@ -21,33 +21,24 @@ jobs:
2121
- name: Set up Python
2222
uses: actions/setup-python@v5
2323
with:
24-
python-version: '3.13'
25-
26-
- name: Cache Python dependencies
27-
uses: actions/cache@v3
28-
with:
29-
path: ~/.cache/pip
30-
key: ${{ runner.os }}-python-${{ hashFiles('**/requirements.txt') }}
31-
restore-keys: |
32-
${{ runner.os }}-python-
24+
python-version: '3.14.0'
3325

3426
- name: Install all dependencies and tools
3527
run: |
3628
python -m pip install --upgrade pip
37-
pip install ruff bandit mypy pytest codespell
29+
pip install ruff bandit mypy pytest codespell requests-mock colorama
3830
3931
- name: Run Codespell check
4032
run: codespell --skip "*.json,*.txt,*.pdf" || true
4133

4234
- name: Run Bandit security scan
43-
run: bandit -r . || true
35+
run: bandit -r . --skip B101,B105 || true
36+
37+
- name: Run Pytest tests
38+
run: pytest || true
4439

4540
- name: Run Ruff checks with ignored rules
46-
run: |
47-
ruff check . --ignore B904,B905,EM101,EXE001,G004,ISC001,PLC0415,PLC1901,PLW060,PLW1641,PLW2901,PT011,PT018,PT028,S101,S311,SIM905,SLF001,UP038
41+
run: ruff check . --ignore B904,B905,EM101,EXE001,G004,ISC001,PLC0415,PLC1901,PLW060,PLW1641,PLW2901,PT011,PT018,PT028,S101,S311,SIM905,SLF001,F405
4842

4943
- name: Run Mypy type checks
50-
run: mypy . --ignore-missing-imports || true
51-
52-
- name: Run Pytest tests
53-
run: pytest
44+
run: mypy . --ignore-missing-imports || true

.gitignore

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,10 @@ for i in string:
1616
odd+=i
1717
print(lower+upper+odd+even)
1818

19+
.vscode
20+
__pycache__/
1921
.venv
20-
# operating system-related files
2122

22-
# file properties cache/storage on macOS
2323
*.DS_Store
24-
25-
# thumbnail cache on Windows
2624
Thumbs.db
2725
bankmanaging.db

.vscode/c_cpp_properties.json

Lines changed: 0 additions & 18 deletions
This file was deleted.

.vscode/launch.json

Lines changed: 0 additions & 24 deletions
This file was deleted.

.vscode/settings.json

Lines changed: 0 additions & 59 deletions
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
STUDENTS_RECORD_FILE= "student_records.pkl"

1 File handle/File handle binary/Deleting record in a binary file.py

Lines changed: 0 additions & 17 deletions
This file was deleted.

1 File handle/File handle binary/Update a binary file2.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,7 @@ def update():
2727

2828

2929
update()
30+
31+
# ! Instead of AB use WB?
32+
# ! It may have memory limits while updating large files but it would be good
33+
# ! Few lakhs records would be fine and wouln't create any much of a significant issues
-471 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)