Skip to content

Commit 3399ac2

Browse files
Merge pull request #21 from AbsaOSS/feature/unite-project-with-team-culture
Feature/unite project with team culture
2 parents 1ab4f4c + 3a0ab62 commit 3399ac2

35 files changed

+2276
-915
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @OlivieFranklova

.github/workflows/py_test.yml

Lines changed: 24 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ on:
66
pull_request:
77

88
jobs:
9-
analysis:
9+
static-analysis:
10+
name: Static Analysis
1011
runs-on: ubuntu-latest
11-
name: Pylint Analysis
1212
steps:
1313
- name: Checkout repository
1414
uses: actions/checkout@v4
@@ -21,16 +21,32 @@ jobs:
2121

2222
- name: Install dependencies
2323
run: |
24-
pip install -r requirements.txt
2524
pip install pylint
2625
2726
- name: Analysing the code with pylint
2827
run: |
29-
pylint \
30-
--fail-under=6.0 \
31-
--ignore-patterns=test_.*?py \
32-
--max-line-length=180 \
33-
$(git ls-files '*.py')
28+
pylint $(git ls-files '*.py')
29+
30+
format-check:
31+
name: Format check
32+
runs-on: ubuntu-latest
33+
steps:
34+
- name: Checkout repository
35+
uses: actions/checkout@v4
36+
37+
- name: Set up Python
38+
uses: actions/setup-python@v5
39+
with:
40+
python-version: '3.11'
41+
cache: 'pip'
42+
43+
- name: Install dependencies
44+
run: |
45+
pip install black
46+
47+
- name: Check code format with Black
48+
run: |
49+
black --check $(git ls-files '*.py')
3450
3551
python-tests:
3652
env:

0 commit comments

Comments
 (0)