Spaces:
Sleeping
Sleeping
atodorov284 commited on
Commit ·
f27410c
1
Parent(s): 88f007c
edit toml file to configure ruff and it should work now
Browse files- air_quality_forecast/api_caller.py +1 -1
- pyproject.toml +0 -14
air_quality_forecast/api_caller.py
CHANGED
|
@@ -12,7 +12,7 @@ class APICaller:
|
|
| 12 |
self._components_erzeijstraat = "PM10"
|
| 13 |
self._vc_base_url = "https://weather.visualcrossing.com/VisualCrossingWebServices/rest/services/weatherdata/history"
|
| 14 |
# probably need to hide this lol (it's Lukasz' key but its public anyway)
|
| 15 |
-
self._vc_key= "3LBMJ7SAH5BCSL5H2DYS5YQ5K"
|
| 16 |
self._vc_max_wait = 10
|
| 17 |
self._vc_successful = 200
|
| 18 |
|
|
|
|
| 12 |
self._components_erzeijstraat = "PM10"
|
| 13 |
self._vc_base_url = "https://weather.visualcrossing.com/VisualCrossingWebServices/rest/services/weatherdata/history"
|
| 14 |
# probably need to hide this lol (it's Lukasz' key but its public anyway)
|
| 15 |
+
self._vc_key = "3LBMJ7SAH5BCSL5H2DYS5YQ5K"
|
| 16 |
self._vc_max_wait = 10
|
| 17 |
self._vc_successful = 200
|
| 18 |
|
pyproject.toml
CHANGED
|
@@ -16,17 +16,3 @@ classifiers = [
|
|
| 16 |
"License :: OSI Approved :: MIT License"
|
| 17 |
]
|
| 18 |
requires-python = "~=3.12"
|
| 19 |
-
|
| 20 |
-
[tool.black]
|
| 21 |
-
line-length = 99
|
| 22 |
-
include = '\.pyi?$'
|
| 23 |
-
exclude = '''
|
| 24 |
-
/(
|
| 25 |
-
\.git
|
| 26 |
-
| \.venv
|
| 27 |
-
)/
|
| 28 |
-
'''
|
| 29 |
-
|
| 30 |
-
[tool.ruff.lint.isort]
|
| 31 |
-
known_first_party = ["air-quality-forecast"]
|
| 32 |
-
force_sort_within_sections = true
|
|
|
|
| 16 |
"License :: OSI Approved :: MIT License"
|
| 17 |
]
|
| 18 |
requires-python = "~=3.12"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|