Skip to content

Commit

Permalink
Ruff version and CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
dyve committed Nov 9, 2023
1 parent d614a4e commit 723ac99
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 12 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## In development

- Use ruff instead of black for formatting ().

## 23.2 (2023-06-28)

- Fix references to example application (#648).
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@
[![CI](https://github.com/zostera/django-bootstrap4/workflows/CI/badge.svg?branch=main)](https://github.com/zostera/django-bootstrap4/actions?workflow=CI)
[![Coverage Status](https://coveralls.io/repos/github/zostera/django-bootstrap4/badge.svg?branch=main)](https://coveralls.io/github/zostera/django-bootstrap4?branch=main)
[![Latest PyPI version](https://img.shields.io/pypi/v/django-bootstrap4.svg)](https://pypi.python.org/pypi/django-bootstrap4)
[![Any color you like](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black)

Bootstrap 4 integration for Django.
Bootstrap 4 for Django.

## Goal

Expand Down
10 changes: 2 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,7 @@ clean = "rm -rf docs/_build"

[tool.hatch.envs.lint]
dependencies = [
"black>=23.3.0",
"ruff>=0.0.270",
"ruff>0.1",
]
detached = true

Expand All @@ -133,19 +132,14 @@ all = [
"style",
]
fmt = [
"black {args:.}",
"ruff --fix {args:.}",
"ruff format {args:.}",
"style",
]
style = [
"ruff {args:.}",
"black --check --diff {args:.}",
]

[tool.black]
line-length = 120
target_version = ["py38", "py39", "py310", "py311"]

[tool.ruff]
fix = false
fixable = [
Expand Down
2 changes: 1 addition & 1 deletion src/bootstrap4/__about__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "23.2"
__version__ = "23.3.dev0"
2 changes: 1 addition & 1 deletion tests/test_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ def test_version(self):

version = bootstrap4.__version__
version_parts = version.split(".")
self.assertEqual(len(version_parts), 2)
self.assertTrue(len(version_parts) >= 2)

0 comments on commit 723ac99

Please sign in to comment.