Skip to content

Latest commit

 

History

History
48 lines (32 loc) · 1.2 KB

File metadata and controls

48 lines (32 loc) · 1.2 KB

Contributing

To contribute to this repository, fork it and send pull requests.

Set up your environment

This project uses Poetry for dependency management, tests, and linting.

  1. Clone this respository
  2. Run poetry install

Unit Tests

We use Pytest as our test runner. Invoke it with poetry run pytest, all other arguments are passed directly to pytest.

All tests

poetry run pytest tests

Only a specific test file

poetry run pytest tests/tests.py

Only a specific method

poetry run pytest tests/tests.py::ClientTestSuite::test_closing_connection_closes_commands

Code formatting

This project uses Black.

poetry run black src

Pull Request Process

  1. Update the CHANGELOG.md or similar documentation with details of changes you wish to make, if applicable.
  2. Add any appropriate tests.
  3. Make your code or other changes.
  4. Review guidelines such as How to write the perfect pull request, thanks!