Skip to content

Commit

Permalink
Merge pull request #21 from AbsaOSS/feature/unite-project-with-team-c…
Browse files Browse the repository at this point in the history
…ulture

Feature/unite project with team culture
  • Loading branch information
OlivieFranklova authored Sep 18, 2024
2 parents 1ab4f4c + 3a0ab62 commit 3399ac2
Show file tree
Hide file tree
Showing 35 changed files with 2,276 additions and 915 deletions.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @OlivieFranklova
32 changes: 24 additions & 8 deletions .github/workflows/py_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ on:
pull_request:

jobs:
analysis:
static-analysis:
name: Static Analysis
runs-on: ubuntu-latest
name: Pylint Analysis
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand All @@ -21,16 +21,32 @@ jobs:

- name: Install dependencies
run: |
pip install -r requirements.txt
pip install pylint
- name: Analysing the code with pylint
run: |
pylint \
--fail-under=6.0 \
--ignore-patterns=test_.*?py \
--max-line-length=180 \
$(git ls-files '*.py')
pylint $(git ls-files '*.py')
format-check:
name: Format check
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: 'pip'

- name: Install dependencies
run: |
pip install black
- name: Check code format with Black
run: |
black --check $(git ls-files '*.py')
python-tests:
env:
Expand Down
Loading

0 comments on commit 3399ac2

Please sign in to comment.