Skip to content

Latest commit

 

History

History
52 lines (38 loc) · 1.9 KB

CONTRIBUTING.md

File metadata and controls

52 lines (38 loc) · 1.9 KB

Contributing

Requirements

  • Python from 3.8 to 3.12
  • Virtual Environment or any other Python environment manager

Getting started

  • Clone or fork the repo

  • Run make setup, it will:

    1. Install all dependencies
    2. Install pre-commit hooks
    3. Generate your .env file
  • Adjust .env file by configuring the environment variables to match your Athena development environment.

Running tests

We have 2 different types of testing:

  • unit testing: you can run this type of tests running make unit_test
  • functional testing: you must have an AWS account with Athena setup in order to launch this type of tests and have a .env file in place with the right values. You can run this type of tests running make functional_test

All type of tests can be run using make:

make test

Pull Request

  • Create a commit with your changes and push them to a fork.

General Guidelines

  • Keep your Pull Request small and focused on a single feature or bug fix.
  • Make sure your code is well tested.
  • Make sure your code is well documented.
  • Provide a clear description of your Pull Request to allow the reviewer to understand the context of your changes.
  • Consider the usage of draft Pull Request and switch to ready for review only when the CI pass or is ready for feedback.
  • Be sure to have pre-commit installed or run make pre-commit before pushing your changes.