diff --git a/.github/workflows/compatibility.yml b/.github/workflows/compatibility.yml index fff2050..5bfa1db 100644 --- a/.github/workflows/compatibility.yml +++ b/.github/workflows/compatibility.yml @@ -26,7 +26,7 @@ jobs: run: | python -m pip install --upgrade pip pip install poetry - poetry install + poetry install --no-root - name: Run compatibility tests run: poetry run pytest diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index e772685..fe02d84 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -1,4 +1,4 @@ -name: lint-test +name: flake8 on: push: diff --git a/README.md b/README.md index c51d91e..8f666de 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ [![Maintainability](https://api.codeclimate.com/v1/badges/d33ecb2661fb7aedf516/maintainability)](https://codeclimate.com/github/hexfrost/sqlalchemy-models-commands/maintainability) [![Test Coverage](https://api.codeclimate.com/v1/badges/d33ecb2661fb7aedf516/test_coverage)](https://codeclimate.com/github/hexfrost/sqlalchemy-models-commands/test_coverage) +[![flake8](https://github.com/hexfrost/simplecrud/actions/workflows/linter.yml/badge.svg?branch=staging)](https://github.com/hexfrost/simplecrud/actions/workflows/linter.yml) # SimpleCRUD SimpleCRUD is a library that provides a simple way to create CRUD commands for SQLAlchemy models. @@ -76,11 +77,14 @@ async def example_func(): - `bulk_delete` - bulk delete objects - `bulk_delete_by_id` - bulk delete objects by id +## License + ## Contributing This project is open for contributions. Feel free to open an issue or create a pull request. +[![flake8](https://github.com/hexfrost/simplecrud/actions/workflows/linter.yml/badge.svg?branch=dev)](https://github.com/hexfrost/simplecrud/actions/workflows/linter.yml) diff --git a/pyproject.toml b/pyproject.toml index d07e9ec..a9ccac2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,7 +9,7 @@ packages = [ readme = "README.md" [tool.poetry.dependencies] -python = "^3.9" +python = "^3.6" sqlalchemy = "^2.0.0" pytest-cov = "^4.1.0"