Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 1.2 KB

CONTRIBUTING.rst

File metadata and controls

27 lines (18 loc) · 1.2 KB

Contributing to db_file_storage

Issues reporting and pull requests are welcome!

For pull requests, please follow the topics below.

Python coding conventions

We try to comply with pep-8 wherever possible. Code from pull requests should do the same.

Tests

The project with db_file_storage's automated tests is in the demo_and_tests directory.

Before creating a pull request, add/expand tests for your changes if needed and make sure that all tests are passing.

In order to test your branch of db_file_storage, you'll have to

  1. cd into the demo_and_tests directory,
  2. pip install all the libraries specified in the requirements file in your environment (you might want to create and use a virtual environment),
  3. run python manage.py test from your shell.