mirror of
https://github.com/daylinmorgan/yartsu.git
synced 2024-12-21 20:10:45 -06:00
build: use src layout
This commit is contained in:
parent
127b3c0256
commit
2e4a0454fc
12 changed files with 5 additions and 6 deletions
|
@ -8,12 +8,12 @@ repos:
|
|||
- id: end-of-file-fixer
|
||||
- id: check-added-large-files
|
||||
- repo: https://github.com/psf/black
|
||||
rev: 23.1.0
|
||||
rev: 23.3.0
|
||||
hooks:
|
||||
- id: black
|
||||
language_version: python
|
||||
- repo: https://github.com/charliermarsh/ruff-pre-commit
|
||||
rev: 'v0.0.245'
|
||||
rev: 'v0.0.265'
|
||||
hooks:
|
||||
- id: ruff
|
||||
args: [--fix, --exit-non-zero-on-fix]
|
||||
args: [--fix, --exit-non-zero-on-fix, --show-fixes]
|
||||
|
|
|
@ -49,5 +49,5 @@ select = ["F", "E", "W", "I001"]
|
|||
exclude = ["scripts"]
|
||||
[tool.ruff.per-file-ignores]
|
||||
# I guess they don't mind some long lines?
|
||||
"yartsu/_export_format.py" = ["E501"]
|
||||
"yartsu/console.py" = ["E501"]
|
||||
"src/yartsu/_export_format.py" = ["E501"]
|
||||
"src/yartsu/console.py" = ["E501"]
|
||||
|
|
0
src/yartsu/__init__.py
Normal file
0
src/yartsu/__init__.py
Normal file
|
@ -1 +0,0 @@
|
|||
from ._version import __version__
|
Loading…
Reference in a new issue