Skip to content

Commit

Permalink
Update requirements and add pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
ray310 committed Jul 26, 2024
1 parent f471023 commit 0e0fd40
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 5 deletions.
11 changes: 8 additions & 3 deletions conda_environment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ channels:
- defaults
- conda-forge
dependencies:
- python=3.12.3
- python=3.12
- beautifulsoup4=4.12.3
- black=24.4.2
- codespell
- coverage=7.2.2
- folium=0.14.0
- geopandas=0.14.2
Expand All @@ -14,14 +15,18 @@ dependencies:
- nbqa=1.8.5
- notebook=7.0.8
- numpy=1.26.4
- pandas=2.2.1
- pandas=2.2.2
- pip=24.0
- pre-commit=3.4.0
- pydocstyle=6.3.0
- pylint=3.2.2
- pytest=7.4.4
- requests=2.32.2
- ruff=0.3.5
- scikit-learn=1.4.2
- scipy=1.13.1
- seaborn=0.13.2
- shapely=2.0.1
- statsmodels=0.14.2
- pip:
- panda-helper==0.0.2
- panda-helper=0.1.1
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[tool.ruff]
extend-include = ["*.ipynb"]

[tool.ruff.lint]
select = ["D", "F", "B"] # pydocstyle, pyflakes, flake8-bugbear
9 changes: 7 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
beautifulsoup4==4.12.3
black==24.4.2
codespell==0.0.0
coverage==7.2.2
folium==0.14.0
geopandas==0.14.2
Expand All @@ -8,13 +9,17 @@ matplotlib==3.8.4
nbqa==1.8.5
notebook==7.0.8
numpy==1.26.4
pandas==2.2.1
panda-helper==0.0.2
pandas==2.2.2
panda-helper==0.1.1
pip==24.0
pre-commit==3.4.0
pydocstyle==6.3.0
pylint==3.2.2
pytest==7.4.4
requests==2.32.2
ruff==0.3.5
scikit-learn==1.4.2
scipy==1.13.1
seaborn==0.13.2
shapely==2.0.1
statsmodels==0.14.2

0 comments on commit 0e0fd40

Please sign in to comment.