Skip to content

Commit

Permalink
Fix package name
Browse files Browse the repository at this point in the history
  • Loading branch information
dkraczkowski committed Mar 1, 2022
1 parent 8ad8c50 commit f3f8d76
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 6 deletions.
Binary file added .coverage
Binary file not shown.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
.idea
__pycache__
coverage.xml

2 changes: 1 addition & 1 deletion chocs_middleware/trace/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
from .middleware import TraceMiddleware
from .logger import Logger
from .middleware import TraceMiddleware, HttpStrategy
14 changes: 12 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,18 @@
[tool.poetry]
name = "chocs-trace"
version = "1.0.0"
name = "chocs_middleware.trace"
version = "0.1.0"
description = "Http tracing middleware for chocs library."
authors = ["Dawid Kraczkowski <dawid.kraczkowski@gmail.com>"]
license = "MIT"
readme = "README.md"
packages = [
{ include = "chocs_middleware" }
]
homepage = "https://github.com/kodemore/chocs-trace"
repository = "https://github.com/kodemore/chocs-trace"
documentation = "https://github.com/kodemore/chocs-trace"

keywords = ["cache", "chocs", "http", "middleware"]

[tool.poetry.dependencies]
python = "^3.8"
Expand Down
1 change: 0 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[tool:pytest]
testpaths = tests
timeout = 10

[black]
line_length=120
Expand Down
2 changes: 0 additions & 2 deletions tests/trace/test_middleware.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from unittest.mock import patch

import requests
import urllib3
from chocs import Application, HttpResponse, HttpRequest, HttpMethod
Expand Down

0 comments on commit f3f8d76

Please sign in to comment.