Skip to content

Commit

Permalink
Pre-commit hook fixes (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
reidjohnson authored May 23, 2024
1 parent 5596ca9 commit 314308a
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 8 deletions.
1 change: 0 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ repos:
hooks:
- id: check-case-conflict
- id: check-merge-conflict
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/psf/black
rev: 24.2.0
Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ All contributions, suggestions, and feedback you submitted are accepted under th

## Submitting an Issue

[Issues](https://github.com/zillow/quantile-forest/issues) should be used to report problems with the package or any of its dependencies, request a new feature, or to discuss potential changes before a PR is created.
[Issues](https://github.com/zillow/quantile-forest/issues) should be used to report problems with the package or any of its dependencies, request a new feature, or to discuss potential changes before a PR is created.

When reporting bugs, please provide a [minimal reproducible example](https://stackoverflow.com/help/minimal-reproducible-example), the version of the package, and the environment (e.g., Python version).

If you find an existing Issue that addresses the problem you're having, please add your own reproducible example to the existing issue rather than creating a new one.
If you find an existing Issue that addresses the problem you're having, please add your own reproducible example to the existing issue rather than creating a new one.

## Submitting a Pull Request

Expand Down
2 changes: 1 addition & 1 deletion docs/_static/css/gallery.css
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ div.bottomnav {
padding-right: 1rem;
}
#showcase .preview {
/* Value is chosen through trial and error so that the examples fill out the
/* Value is chosen through trial and error so that the examples fill out the
whole width which is defined in #showcase .examples */
width: 172px;
height: 100px;
Expand Down
1 change: 0 additions & 1 deletion docs/_templates/navbar-project.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
<a class="navbar-brand" href="{{ pathto(master_doc) }}">
<p class="title">{{ project }}</p>
</a>

12 changes: 10 additions & 2 deletions docs/getting_started/developers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,21 @@
Developer's Guide
-----------------

Development Installation
Development Dependencies
~~~~~~~~~~~~~~~~~~~~~~~~

Building the package from source additionally requires the following dependencies:

* cython (>=3.0a4)

We also use pre-commit hooks to identify simple issues before submission.

To install these dependencies, run::

pip install cython pre-commit

Development Installation
~~~~~~~~~~~~~~~~~~~~~~~~

To manually build and install the package, run::

pip install --verbose --editable .
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ max-line-length = 100
ignore = E203, E266, E402, E501, W503
max-complexity = 19
select = B,C,E,F,W,T4,B9
exclude =
exclude =
.git,
build,
__pycache__
Expand Down

0 comments on commit 314308a

Please sign in to comment.