-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcommands.txt
More file actions
109 lines (76 loc) · 1.84 KB
/
Copy pathcommands.txt
File metadata and controls
109 lines (76 loc) · 1.84 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
git clone https://github.com/v-s-v-i-s-h-w-a-s/my-calci.git
Adding and Committing Changes in Git:
git status
git add tests/unit/test_calculator.py
git status
git commit -m “Added and Tested with negative values”
git status
git push origin main
git status
Branching in Git:
git branch
git branch -a
git branch feature/multi-div
git branch
git branch -a
git checkout feature/multi-div
git branch
git branch -a
Comitting Changes on feature/multi-div
git status
git add .
git status
git commit -m “Changed Multiply and Division Functions with the test cases”
git status
git push origin feature/multi-div
git status
Checking the isolation:
git branch
git checkout main
git branch
Merging the feature branch with main:
git branch
git checkout main
git branch
git merge feature/mutli-div
Update GitHub repo after merge:
git push origin
Feature branch for power and square root functions:
git branch
git branch -a
git branch feature/pow-sqrt
git branch
git branch -a
git checkout feature/pow-sqrt
git branch
git branch -a
Updating the branch and pushing to GitHub:
git status
git add .
git status
git commit -m “Added power and square root functions with test cases”
git status
git push origin feature/pow-sqrt
git status
Updating local git with the remote repo:
git branch
git branch -a
git checkout main
git branch
git branch -a
git status
git fetch origin main
git status
git pull origin main
pytest tests/ -v
pytest tests/ --cov=src
pytest tests/ --cov=src --cov-report=html
pylint src/
pylint src/ --output-format=text > lint_report.txt
pylint src/ --output-format=colorized
black src/ tests/ --check
black src/ tests/ --diff
black src/ tests/
bandit -r src/
bandit -r src/ -v
bandit -r src/ -f json -o security_report.json