Ozon3Org / Ozon3

An open-source Python package to easily obtain real-time, historical, or forecasted air quality data for anywhere in the world. Reliable, accurate and simple.
GNU General Public License v3.0
66 stars 23 forks source link

Bug: No way to set custom name for file, if saving data as CSV, Excel or JSON file. Also inconsistency in naming. #117

Closed Milind220 closed 2 years ago

Milind220 commented 2 years ago

Current behaviour

All saved files of the same type have the exact same name. This means that if I try to save multiple CSV files, they just overwrite the previous ones. For example:

Desired behaviour

ShootGan commented 2 years ago

I can try to work on that. Can you assign me?

lahdjirayhan commented 2 years ago

@ShootGan Of course! See this section on CONTRIBUTING about how to make an issue get assigned to you automatically!

ShootGan commented 2 years ago

Hold my beer, I got this

ShootGan commented 2 years ago

On commit i get error ImportError: cannot import name '_unicodefun' from 'click' (C:\Users\p_nal\.cache\pre-commit\repo99_g8q2e\py_env-python3.8\ lib\site-packages\click\__init__.py)

Milind220 commented 2 years ago

@ShootGan hey! This is an issue with the pre commit hooks (the thing that checks if your commit follows our style guide or not). This is caused by a slightly outdated version of Black, but has been fixed since in the dev branch.

I'm assuming you've already setup your development environment according to the guidelines in the contributing.md file. To get the latest updates, you need to pull from the upstream dev branch: git pull upstream dev:dev

Then reinstall the pre-commit hooks pre-commit install

It should work fine with this.