raztodo 0.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (96) hide show
  1. raztodo-0.1.0/.github/ISSUE_TEMPLATE/bug_report.md +29 -0
  2. raztodo-0.1.0/.github/ISSUE_TEMPLATE/feature_request.md +20 -0
  3. raztodo-0.1.0/.github/pull_request_template.md +18 -0
  4. raztodo-0.1.0/.github/workflows/ci.yml +73 -0
  5. raztodo-0.1.0/.github/workflows/publish.yml +31 -0
  6. raztodo-0.1.0/.gitignore +287 -0
  7. raztodo-0.1.0/CODE_OF_CONDUCT.md +93 -0
  8. raztodo-0.1.0/CONTRIBUTING.md +239 -0
  9. raztodo-0.1.0/LICENSE +21 -0
  10. raztodo-0.1.0/PKG-INFO +150 -0
  11. raztodo-0.1.0/README.md +114 -0
  12. raztodo-0.1.0/SECURITY.md +19 -0
  13. raztodo-0.1.0/docs/ARCHITECTURE.md +196 -0
  14. raztodo-0.1.0/docs/CONFIGURATION.md +128 -0
  15. raztodo-0.1.0/docs/INSTALLATION.md +124 -0
  16. raztodo-0.1.0/docs/TESTING.md +97 -0
  17. raztodo-0.1.0/docs/USAGE.md +296 -0
  18. raztodo-0.1.0/pyproject.toml +98 -0
  19. raztodo-0.1.0/src/raztodo/__init__.py +0 -0
  20. raztodo-0.1.0/src/raztodo/__main__.py +30 -0
  21. raztodo-0.1.0/src/raztodo/application/__init__.py +0 -0
  22. raztodo-0.1.0/src/raztodo/application/use_cases/__init__.py +0 -0
  23. raztodo-0.1.0/src/raztodo/application/use_cases/create_task.py +60 -0
  24. raztodo-0.1.0/src/raztodo/application/use_cases/delete_task.py +30 -0
  25. raztodo-0.1.0/src/raztodo/application/use_cases/export_task.py +33 -0
  26. raztodo-0.1.0/src/raztodo/application/use_cases/import_task.py +108 -0
  27. raztodo-0.1.0/src/raztodo/application/use_cases/list_tasks.py +50 -0
  28. raztodo-0.1.0/src/raztodo/application/use_cases/mark_task_done.py +31 -0
  29. raztodo-0.1.0/src/raztodo/application/use_cases/migrate_tasks.py +37 -0
  30. raztodo-0.1.0/src/raztodo/application/use_cases/search_tasks.py +37 -0
  31. raztodo-0.1.0/src/raztodo/application/use_cases/update_task.py +49 -0
  32. raztodo-0.1.0/src/raztodo/assets/logo.png +0 -0
  33. raztodo-0.1.0/src/raztodo/assets/preview.gif +0 -0
  34. raztodo-0.1.0/src/raztodo/domain/__init__.py +0 -0
  35. raztodo-0.1.0/src/raztodo/domain/exceptions.py +200 -0
  36. raztodo-0.1.0/src/raztodo/domain/task_entity.py +38 -0
  37. raztodo-0.1.0/src/raztodo/domain/task_repository.py +170 -0
  38. raztodo-0.1.0/src/raztodo/infrastructure/__init__.py +0 -0
  39. raztodo-0.1.0/src/raztodo/infrastructure/container.py +36 -0
  40. raztodo-0.1.0/src/raztodo/infrastructure/logger.py +16 -0
  41. raztodo-0.1.0/src/raztodo/infrastructure/settings.py +31 -0
  42. raztodo-0.1.0/src/raztodo/infrastructure/sqlite/__init__.py +0 -0
  43. raztodo-0.1.0/src/raztodo/infrastructure/sqlite/connection.py +40 -0
  44. raztodo-0.1.0/src/raztodo/infrastructure/sqlite/migrations.py +51 -0
  45. raztodo-0.1.0/src/raztodo/infrastructure/sqlite/task_dao.py +163 -0
  46. raztodo-0.1.0/src/raztodo/infrastructure/sqlite/task_mapper.py +43 -0
  47. raztodo-0.1.0/src/raztodo/infrastructure/sqlite/task_repository.py +290 -0
  48. raztodo-0.1.0/src/raztodo/infrastructure/sqlite/task_schema.py +94 -0
  49. raztodo-0.1.0/src/raztodo/presentation/__init__.py +0 -0
  50. raztodo-0.1.0/src/raztodo/presentation/cli/__init__.py +0 -0
  51. raztodo-0.1.0/src/raztodo/presentation/cli/ansi.py +261 -0
  52. raztodo-0.1.0/src/raztodo/presentation/cli/commands/__init__.py +0 -0
  53. raztodo-0.1.0/src/raztodo/presentation/cli/commands/create_task_cmd.py +97 -0
  54. raztodo-0.1.0/src/raztodo/presentation/cli/commands/delete_task_cmd.py +52 -0
  55. raztodo-0.1.0/src/raztodo/presentation/cli/commands/export_task_cmd.py +48 -0
  56. raztodo-0.1.0/src/raztodo/presentation/cli/commands/import_task_cmd.py +84 -0
  57. raztodo-0.1.0/src/raztodo/presentation/cli/commands/list_tasks_cmd.py +149 -0
  58. raztodo-0.1.0/src/raztodo/presentation/cli/commands/mark_task_done_cmd.py +67 -0
  59. raztodo-0.1.0/src/raztodo/presentation/cli/commands/migrate_tasks_cmd.py +38 -0
  60. raztodo-0.1.0/src/raztodo/presentation/cli/commands/search_tasks_cmd.py +99 -0
  61. raztodo-0.1.0/src/raztodo/presentation/cli/commands/update_task_cmd.py +100 -0
  62. raztodo-0.1.0/src/raztodo/presentation/cli/entrypoint.py +49 -0
  63. raztodo-0.1.0/src/raztodo/presentation/cli/formatters.py +8 -0
  64. raztodo-0.1.0/src/raztodo/presentation/cli/helpers.py +134 -0
  65. raztodo-0.1.0/src/raztodo/presentation/cli/parser.py +68 -0
  66. raztodo-0.1.0/src/raztodo/presentation/cli/router.py +81 -0
  67. raztodo-0.1.0/tests/__init__.py +1 -0
  68. raztodo-0.1.0/tests/application/__init__.py +1 -0
  69. raztodo-0.1.0/tests/application/use_cases/__init__.py +1 -0
  70. raztodo-0.1.0/tests/application/use_cases/test_create_task.py +98 -0
  71. raztodo-0.1.0/tests/application/use_cases/test_delete_task.py +31 -0
  72. raztodo-0.1.0/tests/application/use_cases/test_export_task.py +76 -0
  73. raztodo-0.1.0/tests/application/use_cases/test_import_task.py +130 -0
  74. raztodo-0.1.0/tests/application/use_cases/test_list_tasks.py +55 -0
  75. raztodo-0.1.0/tests/application/use_cases/test_mark_task_done.py +41 -0
  76. raztodo-0.1.0/tests/application/use_cases/test_migrate_tasks.py +127 -0
  77. raztodo-0.1.0/tests/application/use_cases/test_search_tasks.py +50 -0
  78. raztodo-0.1.0/tests/application/use_cases/test_update_task.py +52 -0
  79. raztodo-0.1.0/tests/conftest.py +75 -0
  80. raztodo-0.1.0/tests/domain/__init__.py +1 -0
  81. raztodo-0.1.0/tests/domain/test_exceptions.py +195 -0
  82. raztodo-0.1.0/tests/domain/test_task_entity.py +76 -0
  83. raztodo-0.1.0/tests/infrastructure/__init__.py +1 -0
  84. raztodo-0.1.0/tests/infrastructure/sqlite/__init__.py +1 -0
  85. raztodo-0.1.0/tests/infrastructure/sqlite/test_connection.py +107 -0
  86. raztodo-0.1.0/tests/infrastructure/sqlite/test_migrations.py +118 -0
  87. raztodo-0.1.0/tests/infrastructure/sqlite/test_task_dao.py +208 -0
  88. raztodo-0.1.0/tests/infrastructure/sqlite/test_task_mapper.py +140 -0
  89. raztodo-0.1.0/tests/infrastructure/sqlite/test_task_repository.py +256 -0
  90. raztodo-0.1.0/tests/infrastructure/sqlite/test_task_schema.py +113 -0
  91. raztodo-0.1.0/tests/infrastructure/test_container.py +85 -0
  92. raztodo-0.1.0/tests/infrastructure/test_settings.py +64 -0
  93. raztodo-0.1.0/tests/presentation/__init__.py +0 -0
  94. raztodo-0.1.0/tests/presentation/cli/__init__.py +0 -0
  95. raztodo-0.1.0/tests/presentation/cli/test_ansi.py +153 -0
  96. raztodo-0.1.0/tests/presentation/cli/test_helpers.py +239 -0
@@ -0,0 +1,29 @@
1
+ ---
2
+ name: Bug Report
3
+ about: Report a bug to help us improve
4
+ title: '[BUG] '
5
+ labels: bug
6
+ assignees: ''
7
+ ---
8
+
9
+ ## Description
10
+ A clear description of the bug.
11
+
12
+ ## Steps to Reproduce
13
+ 1. Run `raztodo ...`
14
+ 2. ...
15
+
16
+ ## Expected Behavior
17
+ What you expected to happen.
18
+
19
+ ## Actual Behavior
20
+ What actually happened.
21
+
22
+ ## Environment
23
+ - OS: [e.g., Windows 11, Ubuntu 24.04, macOS 15]
24
+ - Python version: [e.g., 3.14.0]
25
+ - RazTodo version: [e.g., 0.1.0]
26
+
27
+ ## Additional Context
28
+ Any other relevant information.
29
+
@@ -0,0 +1,20 @@
1
+ ---
2
+ name: Feature Request
3
+ about: Suggest a new feature
4
+ title: '[FEATURE] '
5
+ labels: enhancement
6
+ assignees: ''
7
+ ---
8
+
9
+ ## Description
10
+ A clear description of the feature you'd like.
11
+
12
+ ## Use Case
13
+ Why would this feature be useful?
14
+
15
+ ## Proposed Solution
16
+ How do you think this could be implemented?
17
+
18
+ ## Alternatives
19
+ Any alternative solutions you've considered.
20
+
@@ -0,0 +1,18 @@
1
+ ## Description
2
+ Brief description of changes.
3
+
4
+ ## Type of Change
5
+ - [ ] Bug fix
6
+ - [ ] New feature
7
+ - [ ] Documentation update
8
+ - [ ] Refactoring
9
+
10
+ ## Checklist
11
+ - [ ] Tests pass (`pytest`)
12
+ - [ ] Code is formatted (`black --check src/ tests/`)
13
+ - [ ] Linting passes (`ruff check src/ tests/`)
14
+ - [ ] Type checking passes (`mypy src/`)
15
+
16
+ ## Related Issues
17
+ Fixes #(issue number)
18
+
@@ -0,0 +1,73 @@
1
+ name: CI
2
+
3
+ on:
4
+ push:
5
+ branches: [master]
6
+ pull_request:
7
+ branches: [master]
8
+
9
+ concurrency:
10
+ group: ${{ github.workflow }}-${{ github.ref }}
11
+ cancel-in-progress: true
12
+
13
+ jobs:
14
+ lint:
15
+ name: Lint & Format
16
+ runs-on: ubuntu-latest
17
+ steps:
18
+ - uses: actions/checkout@v4
19
+
20
+ - name: Set up Python
21
+ uses: actions/setup-python@v5
22
+ with:
23
+ python-version: "3.14"
24
+ allow-prereleases: true
25
+ cache: pip
26
+
27
+ - name: Install tools
28
+ run: pip install black ruff mypy
29
+
30
+ - name: Black
31
+ run: black --check src tests
32
+
33
+ - name: Ruff
34
+ run: ruff check src tests
35
+
36
+ - name: Mypy
37
+ run: mypy src
38
+
39
+ test:
40
+ name: Test (${{ matrix.os }})
41
+ runs-on: ${{ matrix.os }}
42
+ strategy:
43
+ fail-fast: false
44
+ matrix:
45
+ os: [ubuntu-latest, macos-latest, windows-latest]
46
+
47
+ steps:
48
+ - uses: actions/checkout@v4
49
+
50
+ - name: Set up Python
51
+ uses: actions/setup-python@v5
52
+ with:
53
+ python-version: "3.14"
54
+ allow-prereleases: true
55
+
56
+ - name: Install dependencies
57
+ run: pip install coverage pytest
58
+
59
+ - name: Run tests
60
+ run: |
61
+ coverage run --source=src/raztodo -m pytest
62
+ coverage xml
63
+ coverage report -m
64
+ env:
65
+ PYTHONPATH: ${{ github.workspace }}/src
66
+
67
+ - name: Upload coverage
68
+ if: matrix.os == 'ubuntu-latest'
69
+ uses: codecov/codecov-action@v4
70
+ with:
71
+ files: coverage.xml
72
+ fail_ci_if_error: false
73
+
@@ -0,0 +1,31 @@
1
+ name: Publish to PyPI
2
+
3
+ on:
4
+ release:
5
+ types: [published]
6
+
7
+ jobs:
8
+ publish:
9
+ runs-on: ubuntu-latest
10
+ environment: pypi
11
+ permissions:
12
+ id-token: write
13
+
14
+ steps:
15
+ - uses: actions/checkout@v4
16
+
17
+ - name: Set up Python
18
+ uses: actions/setup-python@v5
19
+ with:
20
+ python-version: "3.14"
21
+ allow-prereleases: true
22
+
23
+ - name: Install build tools
24
+ run: pip install build
25
+
26
+ - name: Build package
27
+ run: python -m build
28
+
29
+ - name: Publish to PyPI
30
+ uses: pypa/gh-action-pypi-publish@release/v1
31
+
@@ -0,0 +1,287 @@
1
+ # Byte-compiled / optimized / DLL files
2
+ __pycache__/
3
+ *.py[cod]
4
+ *$py.class
5
+
6
+ # C extensions
7
+ *.so
8
+
9
+ # Distribution / packaging
10
+ .Python
11
+ build/
12
+ develop-eggs/
13
+ dist/
14
+ downloads/
15
+ eggs/
16
+ .eggs/
17
+ lib/
18
+ lib64/
19
+ parts/
20
+ sdist/
21
+ var/
22
+ wheels/
23
+ share/python-wheels/
24
+ *.egg-info/
25
+ .installed.cfg
26
+ *.egg
27
+ MANIFEST
28
+
29
+ # PyInstaller
30
+ *.manifest
31
+ *.spec
32
+
33
+ # Installer logs
34
+ pip-log.txt
35
+ pip-delete-this-directory.txt
36
+
37
+ # Unit test / coverage reports
38
+ htmlcov/
39
+ .tox/
40
+ .nox/
41
+ .coverage
42
+ .coverage.*
43
+ .cache
44
+ nosetests.xml
45
+ coverage.xml
46
+ *.cover
47
+ *.py,cover
48
+ .hypothesis/
49
+ .pytest_cache/
50
+ cover/
51
+
52
+ # Translations
53
+ *.mo
54
+ *.pot
55
+
56
+ # Django stuff:
57
+ *.log
58
+ local_settings.py
59
+ db.sqlite3
60
+ db.sqlite3-journal
61
+
62
+ # Flask stuff:
63
+ instance/
64
+ .webassets-cache
65
+
66
+ # Scrapy stuff:
67
+ .scrapy
68
+
69
+ # Sphinx documentation
70
+ docs/_build/
71
+
72
+ # PyBuilder
73
+ .pybuilder/
74
+ target/
75
+
76
+ # Jupyter Notebook
77
+ .ipynb_checkpoints
78
+
79
+ # IPython
80
+ profile_default/
81
+ ipython_config.py
82
+
83
+ # pyenv
84
+ .python-version
85
+
86
+ # pipenv
87
+ Pipfile.lock
88
+
89
+ # poetry
90
+ poetry.lock
91
+
92
+ # pdm
93
+ .pdm.toml
94
+ .pdm-python
95
+ .pdm-build/
96
+
97
+ # PEP 582
98
+ __pypackages__/
99
+
100
+ # Celery stuff
101
+ celerybeat-schedule
102
+ celerybeat.pid
103
+
104
+ # SageMath parsed files
105
+ *.sage.py
106
+
107
+ # Environments
108
+ .env
109
+ .venv
110
+ env/
111
+ venv/
112
+ ENV/
113
+ env.bak/
114
+ venv.bak/
115
+
116
+ # Spyder project settings
117
+ .spyderproject
118
+ .spyproject
119
+
120
+ # Rope project settings
121
+ .ropeproject
122
+
123
+ # mkdocs documentation
124
+ /site
125
+
126
+ # mypy
127
+ .mypy_cache/
128
+ .dmypy.json
129
+ dmypy.json
130
+
131
+ # Pyre type checker
132
+ .pyre/
133
+
134
+ # pytype static type analyzer
135
+ .pytype/
136
+
137
+ # Cython debug symbols
138
+ cython_debug/
139
+
140
+ # IDEs and Editors
141
+ ## VS Code
142
+ .vscode/
143
+ *.code-workspace
144
+
145
+ ## PyCharm
146
+ .idea/
147
+ *.iml
148
+ *.iws
149
+ *.ipr
150
+
151
+ ## Sublime Text
152
+ *.sublime-project
153
+ *.sublime-workspace
154
+
155
+ ## Vim
156
+ *.swp
157
+ *.swo
158
+ *~
159
+ .vim/
160
+
161
+ ## Emacs
162
+ *~
163
+ \#*\#
164
+ /.emacs.desktop
165
+ /.emacs.desktop.lock
166
+ *.elc
167
+ auto-save-list
168
+ tramp
169
+ .\#*
170
+
171
+ ## VSCodium
172
+ .vscode-oss/
173
+
174
+ ## JetBrains
175
+ .idea/
176
+
177
+ # OS-specific files
178
+ ## macOS
179
+ .DS_Store
180
+ .AppleDouble
181
+ .LSOverride
182
+ Icon
183
+ ._*
184
+ .Spotlight-V100
185
+ .Trashes
186
+
187
+ ## Windows
188
+ Thumbs.db
189
+ Thumbs.db:encryptable
190
+ ehthumbs.db
191
+ ehthumbs_vista.db
192
+ *.stackdump
193
+ [Dd]esktop.ini
194
+ $RECYCLE.BIN/
195
+ *.cab
196
+ *.msi
197
+ *.msix
198
+ *.msm
199
+ *.msp
200
+ *.lnk
201
+
202
+ ## Linux
203
+ *~
204
+ .fuse_hidden*
205
+ .directory
206
+ .Trash-*
207
+ .nfs*
208
+
209
+ # Database files
210
+ *.db
211
+ *.sqlite
212
+ *.sqlite3
213
+ *.db-journal
214
+ *.db-wal
215
+ *.db-shm
216
+
217
+ # Application-specific
218
+ # SQLite database files for raztodo
219
+ tasks.db
220
+ *.db
221
+ *.sqlite
222
+ *.sqlite3
223
+
224
+ # Log files
225
+ *.log
226
+ logs/
227
+ *.log.*
228
+
229
+ # Temporary files
230
+ *.tmp
231
+ *.temp
232
+ *.bak
233
+ *.swp
234
+ *.swo
235
+ *~
236
+ .cache/
237
+
238
+ # Personal files
239
+ me.txt
240
+ notes.txt
241
+ TODO.txt
242
+ scratch.txt
243
+
244
+ # Backup files
245
+ *.backup
246
+ *.old
247
+ *.orig
248
+
249
+ # Configuration files with sensitive data
250
+ .env.local
251
+ .env.*.local
252
+ config.local.py
253
+ settings.local.py
254
+
255
+ # Coverage reports
256
+ .coverage
257
+ coverage.xml
258
+ htmlcov/
259
+ .coverage.*
260
+
261
+ # Type checking
262
+ .pytype/
263
+ .mypy_cache/
264
+ .dmypy.json
265
+ dmypy.json
266
+
267
+ # Profiling data
268
+ .prof
269
+
270
+ # Local data directory (if created by app)
271
+ .local/
272
+ data/
273
+
274
+ # Test artifacts
275
+ .pytest_cache/
276
+ test-results/
277
+ test-output/
278
+
279
+ # Ruff cache
280
+ .ruff_cache/
281
+
282
+ # Hatchling build artifacts
283
+ .hatch/
284
+
285
+ # Distribution files
286
+ *.whl
287
+ *.tar.gz
@@ -0,0 +1,93 @@
1
+
2
+ # Contributor Covenant 3.0 Code of Conduct
3
+
4
+ ## Our Pledge
5
+
6
+ We pledge to make our community welcoming, safe, and equitable for all.
7
+
8
+ We are committed to fostering an environment that respects and promotes the dignity, rights, and contributions of all individuals, regardless of characteristics including race, ethnicity, caste, color, age, physical characteristics, neurodiversity, disability, sex or gender, gender identity or expression, sexual orientation, language, philosophy or religion, national or social origin, socio-economic position, level of education, or other status. The same privileges of participation are extended to everyone who participates in good faith and in accordance with this Covenant.
9
+
10
+
11
+ ## Encouraged Behaviors
12
+
13
+ While acknowledging differences in social norms, we all strive to meet our community's expectations for positive behavior. We also understand that our words and actions may be interpreted differently than we intend based on culture, background, or native language.
14
+
15
+ With these considerations in mind, we agree to behave mindfully toward each other and act in ways that center our shared values, including:
16
+
17
+ 1. Respecting the **purpose of our community**, our activities, and our ways of gathering.
18
+ 2. Engaging **kindly and honestly** with others.
19
+ 3. Respecting **different viewpoints** and experiences.
20
+ 4. **Taking responsibility** for our actions and contributions.
21
+ 5. Gracefully giving and accepting **constructive feedback**.
22
+ 6. Committing to **repairing harm** when it occurs.
23
+ 7. Behaving in other ways that promote and sustain the **well-being of our community**.
24
+
25
+
26
+ ## Restricted Behaviors
27
+
28
+ We agree to restrict the following behaviors in our community. Instances, threats, and promotion of these behaviors are violations of this Code of Conduct.
29
+
30
+ 1. **Harassment.** Violating explicitly expressed boundaries or engaging in unnecessary personal attention after any clear request to stop.
31
+ 2. **Character attacks.** Making insulting, demeaning, or pejorative comments directed at a community member or group of people.
32
+ 3. **Stereotyping or discrimination.** Characterizing anyone’s personality or behavior on the basis of immutable identities or traits.
33
+ 4. **Sexualization.** Behaving in a way that would generally be considered inappropriately intimate in the context or purpose of the community.
34
+ 5. **Violating confidentiality**. Sharing or acting on someone's personal or private information without their permission.
35
+ 6. **Endangerment.** Causing, encouraging, or threatening violence or other harm toward any person or group.
36
+ 7. Behaving in other ways that **threaten the well-being** of our community.
37
+
38
+ ### Other Restrictions
39
+
40
+ 1. **Misleading identity.** Impersonating someone else for any reason, or pretending to be someone else to evade enforcement actions.
41
+ 2. **Failing to credit sources.** Not properly crediting the sources of content you contribute.
42
+ 3. **Promotional materials**. Sharing marketing or other commercial content in a way that is outside the norms of the community.
43
+ 4. **Irresponsible communication.** Failing to responsibly present content which includes, links or describes any other restricted behaviors.
44
+
45
+
46
+ ## Reporting an Issue
47
+
48
+ Tensions can occur between community members even when they are trying their best to collaborate. Not every conflict represents a code of conduct violation, and this Code of Conduct reinforces encouraged behaviors and norms that can help avoid conflicts and minimize harm.
49
+
50
+ When an incident does occur, it is important to report it promptly. To report a possible violation, **real.raz.dev@gmail.com**
51
+
52
+ Community Moderators take reports of violations seriously and will make every effort to respond in a timely manner. They will investigate all reports of code of conduct violations, reviewing messages, logs, and recordings, or interviewing witnesses and other participants. Community Moderators will keep investigation and enforcement actions as transparent as possible while prioritizing safety and confidentiality. In order to honor these values, enforcement actions are carried out in private with the involved parties, but communicating to the whole community may be part of a mutually agreed upon resolution.
53
+
54
+
55
+ ## Addressing and Repairing Harm
56
+
57
+ **[NOTE: The remedies and repairs outlined below are suggestions based on best practices in code of conduct enforcement. If your community has its own established enforcement process, be sure to edit this section to describe your own policies.]**
58
+
59
+ If an investigation by the Community Moderators finds that this Code of Conduct has been violated, the following enforcement ladder may be used to determine how best to repair harm, based on the incident's impact on the individuals involved and the community as a whole. Depending on the severity of a violation, lower rungs on the ladder may be skipped.
60
+
61
+ 1) Warning
62
+ 1) Event: A violation involving a single incident or series of incidents.
63
+ 2) Consequence: A private, written warning from the Community Moderators.
64
+ 3) Repair: Examples of repair include a private written apology, acknowledgement of responsibility, and seeking clarification on expectations.
65
+ 2) Temporarily Limited Activities
66
+ 1) Event: A repeated incidence of a violation that previously resulted in a warning, or the first incidence of a more serious violation.
67
+ 2) Consequence: A private, written warning with a time-limited cooldown period designed to underscore the seriousness of the situation and give the community members involved time to process the incident. The cooldown period may be limited to particular communication channels or interactions with particular community members.
68
+ 3) Repair: Examples of repair may include making an apology, using the cooldown period to reflect on actions and impact, and being thoughtful about re-entering community spaces after the period is over.
69
+ 3) Temporary Suspension
70
+ 1) Event: A pattern of repeated violation which the Community Moderators have tried to address with warnings, or a single serious violation.
71
+ 2) Consequence: A private written warning with conditions for return from suspension. In general, temporary suspensions give the person being suspended time to reflect upon their behavior and possible corrective actions.
72
+ 3) Repair: Examples of repair include respecting the spirit of the suspension, meeting the specified conditions for return, and being thoughtful about how to reintegrate with the community when the suspension is lifted.
73
+ 4) Permanent Ban
74
+ 1) Event: A pattern of repeated code of conduct violations that other steps on the ladder have failed to resolve, or a violation so serious that the Community Moderators determine there is no way to keep the community safe with this person as a member.
75
+ 2) Consequence: Access to all community spaces, tools, and communication channels is removed. In general, permanent bans should be rarely used, should have strong reasoning behind them, and should only be resorted to if working through other remedies has failed to change the behavior.
76
+ 3) Repair: There is no possible repair in cases of this severity.
77
+
78
+ This enforcement ladder is intended as a guideline. It does not limit the ability of Community Managers to use their discretion and judgment, in keeping with the best interests of our community.
79
+
80
+
81
+ ## Scope
82
+
83
+ This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public or other spaces. Examples of representing our community include using an official email address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
84
+
85
+
86
+ ## Attribution
87
+
88
+ This Code of Conduct is adapted from the Contributor Covenant, version 3.0, permanently available at [https://www.contributor-covenant.org/version/3/0/](https://www.contributor-covenant.org/version/3/0/).
89
+
90
+ Contributor Covenant is stewarded by the Organization for Ethical Source and licensed under CC BY-SA 4.0. To view a copy of this license, visit [https://creativecommons.org/licenses/by-sa/4.0/](https://creativecommons.org/licenses/by-sa/4.0/)
91
+
92
+ For answers to common questions about Contributor Covenant, see the FAQ at [https://www.contributor-covenant.org/faq](https://www.contributor-covenant.org/faq). Translations are provided at [https://www.contributor-covenant.org/translations](https://www.contributor-covenant.org/translations). Additional enforcement and community guideline resources can be found at [https://www.contributor-covenant.org/resources](https://www.contributor-covenant.org/resources). The enforcement ladder was inspired by the work of [Mozilla’s code of conduct team](https://github.com/mozilla/inclusion).
93
+