Skip to content

Commit

Permalink
Merge pull request #137 from ral-facilities/changes-from-attachments
Browse files Browse the repository at this point in the history
Add black format check to CI
  • Loading branch information
joelvdavies authored Oct 28, 2024
2 parents 82ed813 + 866063c commit c45400e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/.ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ jobs:
run: |
python -m pip install --upgrade pip
python -m pip install .[code-analysis]
- name: Run black
run: black --check --line-length 120 ldap_jwt_auth test
- name: Run pylint
run: pylint ldap_jwt_auth

Expand Down
8 changes: 2 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,11 @@ dependencies = [

[project.optional-dependencies]
code-analysis = [
"pylint==3.3.1",
"black==24.10.0",
"pylint==3.2.7",
"ldap-jwt-auth[test]"
]

formatting = [
"black==24.10.0"
]

test = [
"pytest==8.3.3",
"pytest-cov==5.0.0",
Expand All @@ -34,7 +31,6 @@ test = [

dev = [
"ldap-jwt-auth[code-analysis]",
"ldap-jwt-auth[formatting]",
"ldap-jwt-auth[test]"
]

Expand Down

0 comments on commit c45400e

Please sign in to comment.