Add ScyllaDB license headers - #103
Merged
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
Adds Apache 2.0 licensing across the project and enforces future copyright notices through Ruff.
Changes:
- Adds the Apache 2.0 license and headers to all 71 Python files.
- Preserves example-script shebang placement.
- Enables Ruff
CPY001and requires Ruff 0.16+.
Reviewed changes
Copilot reviewed 73 out of 73 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
LICENSE |
Adds Apache 2.0 license text. |
pyproject.toml |
Configures Ruff copyright checks. |
alternator/__init__.py |
Adds license header. |
alternator/_constants.py |
Adds license header. |
alternator/_http.py |
Adds license header. |
alternator/_version.py |
Adds license header. |
alternator/async_client.py |
Adds license header. |
alternator/client.py |
Adds license header. |
alternator/config.py |
Adds license header. |
alternator/exceptions.py |
Adds license header. |
alternator/vector.py |
Adds license header. |
alternator/core/__init__.py |
Adds license header. |
alternator/core/auth.py |
Adds license header. |
alternator/core/compression.py |
Adds license header. |
alternator/core/deterministic_rand.py |
Adds license header. |
alternator/core/handlers.py |
Adds license header. |
alternator/core/hashing.py |
Adds license header. |
alternator/core/headers.py |
Adds license header. |
alternator/core/key_affinity.py |
Adds license header. |
alternator/core/live_nodes.py |
Adds license header. |
alternator/core/query_plan.py |
Adds license header. |
alternator/core/request.py |
Adds license header. |
alternator/core/routing_scope.py |
Adds license header. |
alternator/core/tls.py |
Adds license header. |
examples/async_demo.py |
Adds header after shebang. |
examples/capability_configuration.py |
Adds header after shebang. |
examples/compare_aws_sdk.py |
Adds header after shebang. |
examples/sync_demo.py |
Adds header after shebang. |
tests/__init__.py |
Adds license header. |
tests/conftest.py |
Adds license header. |
tests/integration/__init__.py |
Adds license header. |
tests/integration/scylla_version.py |
Adds license header. |
tests/integration/test_async_client.py |
Adds license header. |
tests/integration/test_batch_transactions.py |
Adds license header. |
tests/integration/test_composite_keys.py |
Adds license header. |
tests/integration/test_connection_reuse.py |
Adds license header. |
tests/integration/test_header_optimization.py |
Adds license header. |
tests/integration/test_key_affinity_operations.py |
Adds license header. |
tests/integration/test_live_nodes.py |
Adds license header. |
tests/integration/test_node_health.py |
Adds license header. |
tests/integration/test_request_compression.py |
Adds license header. |
tests/integration/test_response_compression.py |
Adds license header. |
tests/integration/test_sdk_config.py |
Adds license header. |
tests/integration/test_sync_client.py |
Adds license header. |
tests/integration/test_tls.py |
Adds license header. |
tests/integration/test_vector.py |
Adds license header. |
tests/integration/test_wrong_dc_rack.py |
Adds license header. |
tests/integration/wire_capture.py |
Adds license header. |
tests/unit/__init__.py |
Adds license header. |
tests/unit/test_async_manager.py |
Adds license header. |
tests/unit/test_auth.py |
Adds license header. |
tests/unit/test_boto_config.py |
Adds license header. |
tests/unit/test_client_alias.py |
Adds license header. |
tests/unit/test_compression.py |
Adds license header. |
tests/unit/test_config.py |
Adds license header. |
tests/unit/test_deterministic_rand.py |
Adds license header. |
tests/unit/test_fake_alternator_server.py |
Adds license header. |
tests/unit/test_hashing.py |
Adds license header. |
tests/unit/test_hashing_properties.py |
Adds license header. |
tests/unit/test_headers.py |
Adds license header. |
tests/unit/test_helper.py |
Adds license header. |
tests/unit/test_http.py |
Adds license header. |
tests/unit/test_key_affinity.py |
Adds license header. |
tests/unit/test_live_nodes.py |
Adds license header. |
tests/unit/test_network_failures.py |
Adds license header. |
tests/unit/test_query_plan.py |
Adds license header. |
tests/unit/test_request.py |
Adds license header. |
tests/unit/test_request_lifecycle.py |
Adds license header. |
tests/unit/test_response_compression.py |
Adds license header. |
tests/unit/test_routing_scope.py |
Adds license header. |
tests/unit/test_scylla_version.py |
Adds license header. |
tests/unit/test_sync_manager.py |
Adds license header. |
tests/unit/test_tls.py |
Adds license header. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
LICENSECPY001with the ScyllaDB copyright notice and require Ruff 0.16+Testing
make lintuv run ruff check --select CPY alternator/ tests/ examples/make test-unit(503 passed, 3 skipped; 82.86% coverage)Fixes: DRIVER-712
Fixes: #62
Epic: DRIVER-49