-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
skip_fixtures: event_loop and httpx_mock. new build infra
- Loading branch information
1 parent
5bad7c1
commit 58c5fa4
Showing
10 changed files
with
148 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
root = true | ||
|
||
[*] | ||
end_of_line = lf | ||
insert_final_newline = true | ||
max_line_length = 100 | ||
|
||
[**.py] | ||
indent_style = space | ||
indent_size = 4 | ||
emacs_py_project = . | ||
emacs_py_formatter = ruff | ||
# emacs_py_save_touch = infra/uwsgi.ini | ||
# other variables: | ||
# emacs_py_test_command | ||
# emacs_py_test_full_path | ||
# emacs_py_project_root | ||
# emacs_py_extra_path | ||
# emacs_py_interactive | ||
|
||
[frontend/**.{js,jsx}] | ||
indent_style = space | ||
indent_size = 2 | ||
# emacs_py_save_touch = frontend/package.json | ||
|
||
|
||
[Makefile] | ||
indent_style = tab |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,3 +14,4 @@ wheelhouse/ | |
.tox | ||
.coverage.* | ||
*,cover | ||
/.envrc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
-/venv |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
extends: default | ||
|
||
rules: | ||
line-length: | ||
max: 100 | ||
level: warning | ||
|
||
truthy: | ||
allowed-values: ['true', 'false', 'yes', 'no'] | ||
|
||
indentation: | ||
indent-sequences: whatever |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
[project] | ||
name = 'pytest-tipsi-testing' | ||
dynamic = ["version"] | ||
description = 'Better fixtures management. Various helpers' | ||
readme = "README.rst" | ||
authors = [ | ||
{ name = 'cybergrind', email = '[email protected]' } | ||
] | ||
keywords = ['testing', 'asyncio'] | ||
dependencies = [ | ||
'pytest>=3.3.0', | ||
] | ||
classifiers = [ | ||
'Development Status :: 5 - Production/Stable', | ||
'Intended Audience :: Developers', | ||
'License :: OSI Approved :: MIT License', | ||
'Operating System :: OS Independent', | ||
'Programming Language :: Python', | ||
'Programming Language :: Python :: 3.9', | ||
'Programming Language :: Python :: 3.10', | ||
'Programming Language :: Python :: 3.11', | ||
'Programming Language :: Python :: Implementation', | ||
'Programming Language :: Python :: Implementation :: CPython', | ||
'Topic :: Software Development', | ||
'Topic :: Software Development :: Libraries', | ||
'Topic :: Utilities', | ||
] | ||
|
||
[project.urls] | ||
github = 'https://github.com/tipsi/pytest-tipsi-testing' | ||
|
||
[project.optional-dependencies] | ||
log_requests = ['requests~=2.18.0'] | ||
test = ['coverage', 'pytests'] | ||
|
||
[tool.hatch.version] | ||
path = "pytest_tipsi_testing/__init__.py" | ||
|
||
[build-system] | ||
requires = ['setuptools', 'wheel', 'hatchling'] | ||
build-backend = 'hatchling.build' | ||
|
||
[tool.hatch.build] | ||
exclude = [ | ||
'.*', | ||
'.gitignore', | ||
'tox.ini', | ||
'tests' | ||
] | ||
|
||
[tool.hatch.commands] | ||
prerelease = 'hatch build' | ||
|
||
|
||
[tool.ruff] | ||
line-length = 100 | ||
select = [ | ||
"E", # pycodestyle | ||
"F", # pyflakes | ||
"I", # isort | ||
"G", # flake8-logging-format | ||
"ASYNC", # flake8-async | ||
"PIE", # flake8-pie | ||
"T20", # flake8-print | ||
"PT", # flake8-pytest-style | ||
"Q", # flake8-quotes | ||
] | ||
ignore = [ | ||
"Q001", | ||
"Q003" | ||
] | ||
|
||
[tool.ruff.format] | ||
quote-style = "single" | ||
|
||
[tool.ruff.lint.isort] | ||
combine-as-imports = true | ||
known-first-party = ['snapshot_manager'] | ||
lines-after-imports = 2 | ||
|
||
[tool.ruff.lint.flake8-quotes] | ||
docstring-quotes = "double" | ||
inline-quotes = "single" | ||
multiline-quotes = "single" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
__version__ = '1.3.4' | ||
__version__ = '1.4.0' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.