Skip to content

Commit

Permalink
Remove keplergl and add pre-commit (#13)
Browse files Browse the repository at this point in the history
* Remove keplergl

* Add pre-commit
  • Loading branch information
giswqs authored Mar 18, 2024
1 parent 9b193a2 commit 415105e
Show file tree
Hide file tree
Showing 6 changed files with 59 additions and 36 deletions.
23 changes: 23 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: check-toml
- id: check-yaml
- id: end-of-file-fixer
types: [python]
- id: trailing-whitespace
- id: requirements-txt-fixer
- id: check-added-large-files
args: ["--maxkb=500"]

- repo: https://github.com/psf/black
rev: 24.2.0
hooks:
- id: black-jupyter
language_version: python3.11

- repo: https://github.com/kynan/nbstripout
rev: 0.7.1
hooks:
- id: nbstripout
2 changes: 1 addition & 1 deletion docs/pygis.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@

# pygis module

::: pygis.pygis
4 changes: 2 additions & 2 deletions pygis/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""Top-level package for pygis."""

__author__ = """Qiusheng Wu"""
__email__ = 'giswqs@gmail.com'
__version__ = '0.6.1'
__email__ = "giswqs@gmail.com"
__version__ = "0.6.1"
10 changes: 5 additions & 5 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ ffmpeg-python
gdown
geeadd
geedim>=1.6.1
geemap>=0.30.4
geemap>=0.32.0
geojson
geopandas
ipynb-py-convert
kaleido
leafmap>=0.31.0
localtileserver>=0.6.1
leafmap>=0.31.5
localtileserver>=0.10.0
mapclassify>=2.4.0
mss
netcdf4
Expand All @@ -19,13 +19,13 @@ owslib
palettable
plotly
pycrs
pydeck
retry
rio-cogeo
rioxarray
sankee
whiteboxgui
pydeck
keplergl
# keplergl
# datapane
# pydeck
# here-map-widget-for-jupyter
Expand Down
12 changes: 6 additions & 6 deletions requirements_dev.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
pip
bump2version
wheel
watchdog
flake8
tox
coverage
flake8
grip
pip
Sphinx
tox
twine
grip
watchdog
wheel

44 changes: 22 additions & 22 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from os import path as op
from setuptools import setup, find_packages

with open('README.md') as readme_file:
with open("README.md") as readme_file:
readme = readme_file.read()

here = op.abspath(op.dirname(__file__))
Expand All @@ -18,41 +18,41 @@
install_requires = [x.strip() for x in all_reqs if "git+" not in x]
dependency_links = [x.strip().replace("git+", "") for x in all_reqs if "git+" not in x]

requirements = [ ]
requirements = []

setup_requirements = [ ]
setup_requirements = []

test_requirements = [ ]
test_requirements = []

setup(
author="Qiusheng Wu",
author_email='giswqs@gmail.com',
python_requires='>=3.7',
author_email="giswqs@gmail.com",
python_requires=">=3.7",
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
],
description="A Python package for installing optional dependencies for geemap and leafmap.",
install_requires=install_requires,
dependency_links=dependency_links,
license="MIT license",
long_description=readme,
long_description_content_type='text/markdown',
long_description_content_type="text/markdown",
include_package_data=True,
keywords='pygis',
name='pygis',
packages=find_packages(include=['pygis', 'pygis.*']),
keywords="pygis",
name="pygis",
packages=find_packages(include=["pygis", "pygis.*"]),
setup_requires=setup_requirements,
test_suite='tests',
test_suite="tests",
tests_require=test_requirements,
url='https://github.com/giswqs/pygis',
version='0.6.1',
url="https://github.com/giswqs/pygis",
version="0.6.1",
zip_safe=False,
)

0 comments on commit 415105e

Please sign in to comment.