Skip to content

Commit

Permalink
Set up linting and formatting checks
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Lerch <[email protected]>
  • Loading branch information
ryanlerch committed Apr 3, 2024
1 parent 7cb6c8f commit daec079
Show file tree
Hide file tree
Showing 19 changed files with 962 additions and 867 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
- develop
jobs:
unit_tests:
name: Run the Unit Tests
name: Run the Unit Tests, Checks, & build docs
container: fedorapython/fedora-python-tox:latest
steps:
- uses: actions/checkout@v4
Expand All @@ -25,4 +25,7 @@ jobs:
- py39
- py310
- py311
- docs
- lint
- format
runs-on: ubuntu-latest
125 changes: 124 additions & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ python = "^3.9.0"
pyramid = "^2.0.2"
pyramid-mako = "^1.1.0"

# use this from git for now (need the recent zope fixes)
# use this from git for now (need the recent zope fixes)
tahrir-api = {git = "https://github.com/fedora-infra/tahrir-api"}

sqlalchemy = "^2.0.29"
Expand All @@ -63,6 +63,8 @@ gevent = "^24.2.1"
pytest = "^8.1.1"
pytest-cov = "^5.0.0"
coverage = "^7.4.4"
ruff = "^0.3.5"
black = "^24.3.0"

[tool.poetry.plugins."paste.app_factory"]
main = "tahrir:main"
Expand Down
Loading

0 comments on commit daec079

Please sign in to comment.