Skip to content

Commit 2ec85e4

Browse files
authored
Core: Add py.typed, Remove docs from source dist (#12232)
1 parent 755eec9 commit 2ec85e4

File tree

3 files changed

+12
-6
lines changed

3 files changed

+12
-6
lines changed

MANIFEST.in

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1+
exclude .github/**
2+
exclude .circleci/**
3+
exclude docs/**
14
exclude tests/**
25
exclude .test_durations
6+
exclude .gitignore
7+
exclude .pre-commit-config.yaml
8+
exclude .python-version
39
include Makefile
410
include LICENSE.txt

localstack-core/localstack/py.typed

Whitespace-only changes.

localstack-core/localstack/state/core.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,27 +27,27 @@ class StateLifecycleHook:
2727
- load: the state is injected into the service, or state directories on disk are restored
2828
"""
2929

30-
def on_before_state_reset(self):
30+
def on_before_state_reset(self) -> None:
3131
"""Hook triggered before the provider's state containers are reset/cleared."""
3232
pass
3333

34-
def on_after_state_reset(self):
34+
def on_after_state_reset(self) -> None:
3535
"""Hook triggered after the provider's state containers have been reset/cleared."""
3636
pass
3737

38-
def on_before_state_save(self):
38+
def on_before_state_save(self) -> None:
3939
"""Hook triggered before the provider's state containers are saved."""
4040
pass
4141

42-
def on_after_state_save(self):
42+
def on_after_state_save(self) -> None:
4343
"""Hook triggered after the provider's state containers have been saved."""
4444
pass
4545

46-
def on_before_state_load(self):
46+
def on_before_state_load(self) -> None:
4747
"""Hook triggered before a previously serialized state is loaded into the provider's state containers."""
4848
pass
4949

50-
def on_after_state_load(self):
50+
def on_after_state_load(self) -> None:
5151
"""Hook triggered after a previously serialized state has been loaded into the provider's state containers."""
5252
pass
5353

0 commit comments

Comments
 (0)