worldbank / DECAT_Space2Stats

https://worldbank.github.io/DECAT_Space2Stats/
Other
1 stars 1 forks source link

Feature/pre commit #24

Closed zacharyDez closed 1 month ago

zacharyDez commented 1 month ago

What I Changed

How to test it

Other Notes

if os.path.basename(current_directory) == "space2stats_api": env_path = os.path.join(current_directory, '..', env_file_name) else: env_path = os.path.join(current_directory, env_file_name)


- Closes #22 
vincentsarago commented 1 month ago

we can also add a step in the CI to run the pre-commit https://github.com/cogeotiff/rio-tiler/blob/8573dbe7b3ea7325e7db084f29bc47f9797d0bbe/.github/workflows/ci.yml#L38-L42