Skip to content

Commit

Permalink
🧹 Cleanup old installation residuals
Browse files Browse the repository at this point in the history
  • Loading branch information
s-weigand committed Sep 8, 2023
1 parent f117a43 commit 5107828
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 17 deletions.
7 changes: 1 addition & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,6 @@ repos:
- id: isort
minimum_pre_commit_version: 2.9.0

- repo: https://github.com/asottile/setup-cfg-fmt
rev: v2.4.0
hooks:
- id: setup-cfg-fmt

- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.0.3 # Use the sha or tag you want to point at
hooks:
Expand Down Expand Up @@ -112,7 +107,7 @@ repos:
- "--allow-init-docstring=True"
- "--skip-checking-short-docstrings=False"
name: "flake8 lint docstrings"
exclude: "^(docs/|setup.py$|tests?/)"
exclude: "^(docs/|tests?/)"
additional_dependencies: [pydoclint==0.1.4]

- repo: https://github.com/rstcheck/rstcheck
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ Before you submit a pull request, check that it meets these guidelines:
2. If the pull request adds functionality, the docs should be updated. Put
your new functionality into a function with a docstring, and add the
feature to the list in README.md.
3. The pull request should work for Python 3.8 and 3.9. Check
3. The pull request should work for Python 3.10 and 3.11. Check
https://github.com/glotaran/pyglotaran-extras/actions
and make sure that the tests pass for all supported Python versions.

Expand Down
2 changes: 0 additions & 2 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ include CONTRIBUTING.rst
include HISTORY.md
include LICENSE
include README.md
include setup.cfg
include setup.py
recursive-include pyglotaran_extras *
recursive-include tests *

Expand Down
5 changes: 2 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,8 @@ release: dist ## package and upload a release
twine upload dist/*

dist: clean ## builds source and wheel package
python setup.py sdist
python setup.py bdist_wheel
hatch build
ls -l dist

install: clean ## install the package to the active Python's site-packages
python setup.py install
pip install .
2 changes: 1 addition & 1 deletion docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Once you have a copy of the source, you can install it with:

.. code-block:: console
$ python setup.py install
$ pip install .
.. _Github repo: https://github.com/glotaran/pyglotaran-extras
Expand Down
6 changes: 2 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,6 @@ dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
target-version = "py310"

[tool.ruff.per-file-ignores]
"setup.py" = ["D"]
"tests/*" = ["ARG001"]

[tool.isort]
Expand All @@ -193,7 +192,6 @@ remove_redundant_aliases = true
branch = true
include = ['pyglotaran_extras/*']
omit = [
'setup.py',
'tests/*',
# comment the above line if you want to see if all tests did run
]
Expand Down Expand Up @@ -241,7 +239,7 @@ wrap-summaries = 99
wrap-descriptions = 99

[tool.interrogate]
exclude = ["setup.py", "docs", "tests/*"]
exclude = ["docs", "tests/*"]
ignore-init-module = true
fail-under = 100

Expand All @@ -253,6 +251,6 @@ flake8 = ["--extend-ignore=E402,F404"]
[tool.pydoclint]
skip-checking-short-docstrings = false
style = 'numpy'
exclude = '^(docs/|setup.py$|tests?/)'
exclude = '^(docs/|tests?/)'
require-return-section-when-returning-none = false
allow-init-docstring = true

0 comments on commit 5107828

Please sign in to comment.