Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 31 additions & 9 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,27 @@
# Ignore Python-Compiled Files
# Python
*.pyc
*.pyo
__pycache__/
.venv/
venv/
*.egg
.eggs/
build/
dist/
jsocket.egg-info/

# Testing & Linting
.coverage
coverage.xml
htmlcov/
.pytest_cache/
.pylint.d/
.mypy_cache/
.ruff_cache/

# Ignore Eclipse/PyDev Project Files
# IDE & Editors
.idea/
.vscode/
.project
.pydevproject
.settings
Expand All @@ -12,10 +32,12 @@
# Ignore Claude Code Files
.claude/
*.sw*
.coverage
.pytest_cache/
.pylint.d/
coverage.xml
build/
dist/
jsocket.egg-info/

# Environment
.env

# OS
.DS_Store

# Claude Code
.claude/
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,15 @@ lint:
PYLINTHOME=.pylint.d pylint jsocket tests features/steps --fail-under=9.0 --persistent=n --disable=duplicate-code

wheel:
python -m build --wheel
python3 -m build --wheel

publish:
python -m build
python -m twine check dist/*
python -m twine upload dist/*
python3 -m build
python3 -m twine check dist/*
python3 -m twine upload dist/*

version:
@python -c "import pathlib, re; p = pathlib.Path('jsocket/_version.py'); m = re.search(r'__version__\\s*=\\s*[\\\"\\']([^\\\"\\']+)[\\\"\\']', p.read_text(encoding='utf-8')); print(f\"version: {m.group(1) if m else 'unknown'}\")"
@python3 -c "import pathlib, re; p = pathlib.Path('jsocket/_version.py'); m = re.search(r'__version__\\s*=\\s*[\\\"\\']([^\\\"\\']+)[\\\"\\']', p.read_text(encoding='utf-8')); print(f\"version: {m.group(1) if m else 'unknown'}\")"
@sha=$$(git log -1 --format=%h 2>/dev/null); \
if [ -n "$$sha" ]; then \
if [ -n "$$(git status --porcelain 2>/dev/null)" ]; then \
Expand Down
2 changes: 1 addition & 1 deletion tests/test_integration_failures.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ def test_serverfactory_fast_client_not_blocked_by_slow_client():
idle_thread.start()

try:
assert ready_event.wait(timeout=1.0) is True
assert ready_event.wait(timeout=5.0) is True
fast_client = _connect_client(port)
started = time.monotonic()
_roundtrip(fast_client, {"echo": "fast"})
Expand Down
Loading