Skip to content

Commit

Permalink
fixup: remove black
Browse files Browse the repository at this point in the history
  • Loading branch information
mcous committed Nov 2, 2023
1 parent d1dafc2 commit 1b96029
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 71 deletions.
12 changes: 2 additions & 10 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,18 +48,11 @@ If you find yourself in a situation where Decoy's test suite has blown up, **con

### Checks

Decoy's source code is typechecked with [mypy][] and linted with [ruff][].
Decoy's source code is typechecked with [mypy][] and linted/formatted with [ruff][].

```bash
poetry run poe check
poetry run poe lint
```

### Formatting

Decoy's source code is formatted using [black][].

```bash
poetry run poe format
```

Expand Down Expand Up @@ -101,7 +94,6 @@ git push --follow-tags
[pytest]: https://docs.pytest.org/
[pytest-xdist]: https://github.com/pytest-dev/pytest-xdist
[mypy]: https://mypy.readthedocs.io
[ruff]: https://github.com/charliermarsh/ruff
[black]: https://black.readthedocs.io
[ruff]: https://github.com/astral-sh/ruff
[mkdocs]: https://www.mkdocs.org/
[semantic versioning]: https://semver.org/
60 changes: 2 additions & 58 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ python = "^3.7"
poethepoet = "0.19.0"

[tool.poetry.group.test.dependencies]
black = { version = "23.7.0", python = ">=3.8" }
coverage = { version = "7.2.7", extras = ["toml"] }
mypy = [
{ version = "1.4.1", python = "<3.8" },
Expand Down Expand Up @@ -57,8 +56,8 @@ all = [
]
check = "mypy"
lint = "ruff check ."
format = "black ."
format-check = "black . --check"
format = "ruff format ."
format-check = "ruff format --check ."
test = "pytest -f"
test-once = "coverage run --branch --source=decoy -m pytest --mypy-same-process"
coverage = "coverage report"
Expand Down

0 comments on commit 1b96029

Please sign in to comment.