Skip to content

Project with bootstrap files to create one python project

License

Notifications You must be signed in to change notification settings

NeowayLabs/pybootstrap

Repository files navigation

pybootstrap

Project with bootstrap files to create one python project

How this works

For now, we don't have any automation to create your project. Just copy and past to your new empty project.

Main features:

  • Unit tests
  • Dockerfile
  • Pylint

Tests

For unit tests:

make check parameters="<filepath>.py <Class>.<Function>"

parameters filepath init after ./tests

Examples

  • All tests

    make check
  • File test

    make check parameters="middleware_test.py"
  • Class of file test

    make check parameters="middleware_test.py ProcessRequestTests"
  • Function of class of file test:

    make check parameters="middleware_test.py ProcessRequestTests.test_get_proxy"

For integration tests:

make check-integration parameters="<filepath>.py <Class>.<Function>"

parameters filepath init after ./tests

Same unit tests examples works to integration tests.

lint

To run pylint in your code run:

make lint

About

Project with bootstrap files to create one python project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published