Skip to content

Commit 92c1e6e

Browse files
committed
Update Makefile to use platformdirs instead of appdirs
Replaces references to 'appdirs' with 'platformdirs' for type stub generation using pyright. Updates the pyright-typings target and related commands accordingly.
1 parent 1ed5e43 commit 92c1e6e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ clean-test: FORCE
5656
rm -fr .pytest_cache
5757
rm -rf typings/
5858

59-
typings/appdirs:
60-
@echo "Creating appdirs stubs"
61-
pyright --createstub appdirs
59+
typings/platformdirs:
60+
@echo "Creating platformdirs stubs"
61+
pyright --createstub platformdirs
6262
typings/folium:
6363
@echo "Creating folium stubs"
6464
pyright --createstub folium
@@ -75,7 +75,7 @@ typings/matplotlib/__init__.pyi:
7575
mv typings/python-type-stubs/stubs/matplotlib typings/
7676
rm -rf typings/python-type-stubs
7777

78-
pyright-typings: typings/appdirs typings/folium typings/uvicorn typings/seaborn typings/matplotlib/__init__.pyi
78+
pyright-typings: typings/platformdirs typings/folium typings/uvicorn typings/seaborn typings/matplotlib/__init__.pyi
7979

8080
check: check-format check-lint check-types check-tests ## check code, style, types, and test (basic CI)
8181
check-fix: format check-lint check-types check-tests ## check and format code, style, types, and test

0 commit comments

Comments
 (0)