Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iwana 20220313T2315 sphinx #2

Open
wants to merge 51 commits into
base: master
Choose a base branch
from
Open

Conversation

aucampia
Copy link
Owner

  • fix: move setup.py into setup.cfg
  • rm: requirements*.txt
  • fix: README.rst
  • add: pyproject.toml
  • update: change way to build and publish package
  • fix: setup.cfg info
  • add: mypy configuration
  • add: type hinting
  • fix: all mypy errors
  • fix: redundant import and test error
  • add: pandas to deps
  • fix
  • fix
  • fix: revert requirements.*.txt
  • rm: useless file
  • add: show_error_codes = True to mypy configuration
  • fix: replace refs from init.py by attr: with hardcoded values
  • fix
  • fix: pandas import error and add pandas to extras_require
  • fix: move pandas into install_requires
  • Revert "fix: move pandas into install_requires"
  • fix: replace pd.DataFrame in returned type hint with Any to avoid import pandas globally
  • fix: remove pandas from requirements.txt
  • add: requirements.optional.txt
  • rm: useless info from init
  • add: more warnings to mypy conf
  • add: mypy
  • fix: ignore missing-import of pandas
  • fix: typing of pandas
  • fix: undo class order Wrapper.py and quote some returned types
  • add: specify target dir as mypy target in conf
  • fix: ci
  • fix: typever in KeyCaseInsensitiveDict
  • fix: argument type of KeyCaseInsensitiveDict initializer
  • add: pandas-stubs to dev deps
  • fix
  • revert changes potensially break behavior
  • fix: ci
  • Remove some changes which are not needed for type checking
  • Don't import rdflib globally
  • rely on config for specifying what to check
  • Resolve packaging issues (Resolve packaging issues RDFLib/sparqlwrapper#203)
  • Use ArgumentTypeError to raise error with message (Use ArgumentTypeError to raise error with message RDFLib/sparqlwrapper#204)
  • Add sphinx and theme to requirements

eggplants and others added 20 commits February 20, 2022 04:43
Co-authored-by: Iwan Aucamp <aucampia@gmail.com>
Co-authored-by: Iwan Aucamp <aucampia@gmail.com>
Co-authored-by: Iwan Aucamp <aucampia@gmail.com>
Importing it globally causes problems for the `__version__` dunder being
referenced by setup.cfg
* move all package information to setup.cfg
* add typed marker to declare SPARQLWrapper is a typed package
* fix: use ArgumentTypeError to raise error with message

Ref: RDFLib#202

This PR is resolved with conflicts of RDFLib#202.
So please close it after this pr is merged.
Also create a symlink for docs/source/SPARQLWrapper-250.png so it is
valid from README.rst and from sphinx.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants