From 0241a66397864a88d1b84bd0f0763111cab9f86d Mon Sep 17 00:00:00 2001 From: Alexandre Decan Date: Wed, 23 Oct 2024 09:45:14 +0200 Subject: [PATCH] Misc doc --- README.md | 1 - portion/func.py | 1 - 2 files changed, 2 deletions(-) diff --git a/README.md b/README.md index 92f80da..4161301 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,6 @@ The `portion` library provides data structure and operations for intervals in Py You can use `pip` to install it, as usual: `pip install portion`. This will install the latest available version from [PyPI](https://pypi.org/project/portion). Pre-releases are available from the *master* branch on [GitHub](https://github.com/AlexandreDecan/portion) and can be installed with `pip install git+https://github.com/AlexandreDecan/portion`. -Note that `portion` is also available on [conda-forge](https://anaconda.org/conda-forge/portion). You can install `portion` and its development environment using `pip install -e .[test]` at the root of this repository. This automatically installs [pytest](https://docs.pytest.org/en/latest/) (for the test suites) and [ruff](https://docs.astral.sh/ruff/) (for code style). diff --git a/portion/func.py b/portion/func.py index a64084c..31e802c 100644 --- a/portion/func.py +++ b/portion/func.py @@ -114,7 +114,6 @@ def exclude(v, i): def include(v, i): return v < i.upper or (i.right is Bound.CLOSED and v <= i.upper) - else: def exclude(v, i):