updates
This commit is contained in:
parent
daced3babb
commit
992464fd92
2 changed files with 65 additions and 10 deletions
|
|
@ -1,14 +1,6 @@
|
||||||
# {{ package_title }}
|
# {{ package_title }}
|
||||||
|
|
||||||
[](https://pypi.org/project/{{ package_name }})
|
{{ description }}
|
||||||
[](https://pypi.org/project/{{ package_name }})
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
**Table of Contents**
|
|
||||||
|
|
||||||
- [Installation](#installation)
|
|
||||||
- [License](#license)
|
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "{{ package_name }}"
|
name = "{{ package_name }}"
|
||||||
description = 'A rich terminal report for coveragepy.'
|
description = '{{ description }}'
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
requires-python = ">=3.7"
|
requires-python = ">=3.7"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
|
@ -94,3 +94,66 @@ testpaths = ["tests"]
|
||||||
|
|
||||||
[tool.coverage_rich]
|
[tool.coverage_rich]
|
||||||
fail-under=80
|
fail-under=80
|
||||||
|
|
||||||
|
[tool.ruff]
|
||||||
|
|
||||||
|
ignore = ["E501"]
|
||||||
|
target-version = "py37"
|
||||||
|
|
||||||
|
[tool.ruff.per-file-ignores]
|
||||||
|
'tests/**/*.py' = ['S101']
|
||||||
|
|
||||||
|
|
||||||
|
select = [
|
||||||
|
"F", # Pyflakes
|
||||||
|
"E", # Error
|
||||||
|
"W", # Warning
|
||||||
|
"C90", # mccabe
|
||||||
|
"I", # isort
|
||||||
|
"N", # pep8-naming
|
||||||
|
# "D", # pydocstyle
|
||||||
|
"UP", # pyupgrade
|
||||||
|
"YTT", # flake8-2020
|
||||||
|
"ANN", # flake8-annotations
|
||||||
|
"S", # flake8-bandit
|
||||||
|
"BLE", # flake8-blind-except
|
||||||
|
"FBT", # flake8-boolean-trap
|
||||||
|
"B", # flake8-bugbear
|
||||||
|
"A", # flake8-builtins
|
||||||
|
"COM", # flake8-commas
|
||||||
|
"C4", # flake8-comprehensions
|
||||||
|
"DTZ", # flake8-datetimez
|
||||||
|
"T10", # flake8-debugger
|
||||||
|
"DJ", # flake8-django
|
||||||
|
"EM", # flake8-errmsg
|
||||||
|
"EXE", # flake8-executable
|
||||||
|
"ISC", # flake8-implicit-str-concat
|
||||||
|
"ICN", # flake8-import-conventions
|
||||||
|
"G", # flake8-logging-format
|
||||||
|
"INP", # flake8-no-pep420
|
||||||
|
"PIE", # flake8-pie
|
||||||
|
"T20", # flake8-print
|
||||||
|
"PYI", # flake8-pyi
|
||||||
|
"PT", # flake8-pytest-style
|
||||||
|
"Q", # flake8-quotes
|
||||||
|
"RSE", # flake8-raise
|
||||||
|
"RET", # flake8-return
|
||||||
|
"SLF", # flake8-self
|
||||||
|
"SIM", # flake8-simplify
|
||||||
|
"TID", # flake8-tidy-imports
|
||||||
|
"TCH", # flake8-type-checking
|
||||||
|
# "INT", # flake8-gettext
|
||||||
|
"ARG", # flake8-unused-arguments
|
||||||
|
"PTH", # flake8-use-pathlib
|
||||||
|
"ERA", # eradicate
|
||||||
|
"PD", # pandas-vet
|
||||||
|
"PGH", # pygrep-hooks
|
||||||
|
"PL", # Pylint
|
||||||
|
"PLC", # Convention
|
||||||
|
"PLE", # Error
|
||||||
|
"PLR", # Refactor
|
||||||
|
"PLW", # Warning
|
||||||
|
"TRY", # tryceratops
|
||||||
|
"NPY", # NumPy-specific rules
|
||||||
|
"RUF", # Ruff-specific rules
|
||||||
|
]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue