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
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ repos:
- id: check-case-conflict
- id: check-docstring-first
- id: check-json
- id: check-shebang-scripts-are-executable
- id: check-toml
- id: check-xml
- id: check-yaml
Expand Down
2 changes: 1 addition & 1 deletion examples/async_apple_scanner.py
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!/usr/bin/env python

"""Scan for apple devices."""

Expand Down
2 changes: 1 addition & 1 deletion examples/async_browser.py
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!/usr/bin/env python

"""Example of browsing for a service.

Expand Down
3 changes: 2 additions & 1 deletion examples/async_registration.py
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env python3
#!/usr/bin/env python

"""Example of announcing 250 services (in this case, a fake HTTP server)."""

import argparse
Expand Down
3 changes: 2 additions & 1 deletion examples/async_service_info_request.py
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env python3
#!/usr/bin/env python

"""Example of perodic dump of homekit services.

This example is useful when a user wants an ondemand
Expand Down
2 changes: 1 addition & 1 deletion examples/browser.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!/usr/bin/env python

"""Example of browsing for a service.

Expand Down
2 changes: 1 addition & 1 deletion examples/registration.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!/usr/bin/env python

"""Example of announcing a service (in this case, a fake HTTP server)"""

Expand Down
2 changes: 1 addition & 1 deletion examples/resolver.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!/usr/bin/env python

"""Example of resolving a service with a known name"""

Expand Down
2 changes: 1 addition & 1 deletion examples/self_test.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!/usr/bin/env python

import logging
import socket
Expand Down
3 changes: 0 additions & 3 deletions tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#!/usr/bin/env python


"""conftest for zeroconf tests."""

import threading
Expand Down
3 changes: 0 additions & 3 deletions tests/services/test_browser.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#!/usr/bin/env python


"""Unit tests for zeroconf._services.browser."""

import asyncio
Expand Down
3 changes: 0 additions & 3 deletions tests/services/test_info.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#!/usr/bin/env python


"""Unit tests for zeroconf._services.info."""

import asyncio
Expand Down
3 changes: 0 additions & 3 deletions tests/services/test_registry.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#!/usr/bin/env python


"""Unit tests for zeroconf._services.registry."""

import socket
Expand Down
3 changes: 0 additions & 3 deletions tests/services/test_types.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#!/usr/bin/env python


"""Unit tests for zeroconf._services.types."""

import logging
Expand Down
3 changes: 0 additions & 3 deletions tests/test_asyncio.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#!/usr/bin/env python


"""Unit tests for aio.py."""

import asyncio
Expand Down
3 changes: 0 additions & 3 deletions tests/test_cache.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#!/usr/bin/env python


"""Unit tests for zeroconf._cache."""

import logging
Expand Down
3 changes: 0 additions & 3 deletions tests/test_core.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#!/usr/bin/env python


"""Unit tests for zeroconf._core"""

import asyncio
Expand Down
3 changes: 0 additions & 3 deletions tests/test_dns.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#!/usr/bin/env python


"""Unit tests for zeroconf._dns."""

import logging
Expand Down
3 changes: 0 additions & 3 deletions tests/test_engine.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#!/usr/bin/env python


"""Unit tests for zeroconf._engine"""

import asyncio
Expand Down
3 changes: 0 additions & 3 deletions tests/test_exceptions.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#!/usr/bin/env python


"""Unit tests for zeroconf._exceptions"""

import logging
Expand Down
3 changes: 0 additions & 3 deletions tests/test_handlers.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#!/usr/bin/env python


"""Unit tests for zeroconf._handlers"""

import asyncio
Expand Down
3 changes: 0 additions & 3 deletions tests/test_history.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#!/usr/bin/env python


"""Unit tests for _history.py."""

from typing import Set
Expand Down
3 changes: 0 additions & 3 deletions tests/test_init.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#!/usr/bin/env python


"""Unit tests for zeroconf.py"""

import logging
Expand Down
3 changes: 0 additions & 3 deletions tests/test_listener.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#!/usr/bin/env python


"""Unit tests for zeroconf._listener"""

import logging
Expand Down
3 changes: 0 additions & 3 deletions tests/test_logger.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#!/usr/bin/env python


"""Unit tests for logger.py."""

import logging
Expand Down
3 changes: 0 additions & 3 deletions tests/test_protocol.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#!/usr/bin/env python


"""Unit tests for zeroconf._protocol"""

import copy
Expand Down
3 changes: 0 additions & 3 deletions tests/test_services.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#!/usr/bin/env python


"""Unit tests for zeroconf._services."""

import logging
Expand Down
3 changes: 0 additions & 3 deletions tests/test_updates.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#!/usr/bin/env python


"""Unit tests for zeroconf._updates."""

import logging
Expand Down
3 changes: 0 additions & 3 deletions tests/utils/test_asyncio.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#!/usr/bin/env python


"""Unit tests for zeroconf._utils.asyncio."""

import asyncio
Expand Down
2 changes: 0 additions & 2 deletions tests/utils/test_ipaddress.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

"""Unit tests for zeroconf._utils.ipaddress."""

import sys
Expand Down
3 changes: 0 additions & 3 deletions tests/utils/test_name.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#!/usr/bin/env python


"""Unit tests for zeroconf._utils.name."""

import socket
Expand Down
3 changes: 0 additions & 3 deletions tests/utils/test_net.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#!/usr/bin/env python


"""Unit tests for zeroconf._utils.net."""

import errno
Expand Down