Skip to content

Commit

Permalink
[dev] Small configurational cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
amureki committed Aug 25, 2023
1 parent 1474362 commit ff8d203
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 13 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ lint:
@ruff .
@mypy model_bakery

.PHONY: test release
.PHONY: help test release lint
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ pip install model_bakery

# models.py

from django.db import models

class Customer(models.Model):
enjoy_jards_macale = models.BooleanField()
name = models.CharField(max_length=30)
Expand Down
13 changes: 1 addition & 12 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,21 +62,10 @@ include = [
"/model_bakery",
]

[tool.isort]
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
line_length = 88

[tool.mypy]
ignore_missing_imports = true
disallow_untyped_calls = true

[tool.pydocstyle]
add_ignore = "D1"
match-dir = '(?!test|docs|venv|\.).*'

[tool.pytest.ini_options]
addopts = "--tb=short -rxs --nomigrations"

Expand All @@ -98,7 +87,7 @@ select = [
ignore = ["B904", "E501", "S101", "D1", "D212"]

[tool.ruff.per-file-ignores]
"*/tests/**/test_*.py" = [
"tests/test_*.py" = [
"S",
]

Expand Down

0 comments on commit ff8d203

Please sign in to comment.