Skip to content

Commit fdf9b78

Browse files
adapt license formatting
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
1 parent eb55da5 commit fdf9b78

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

AGENTS.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!--
2-
- SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors
3-
- SPDX-License-Identifier: GPL-3.0-or-later
2+
~ SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors
3+
~ SPDX-License-Identifier: GPL-3.0-or-later
44
-->
55
# Agents.md
66

@@ -161,6 +161,7 @@ XML:
161161

162162
## Code Style
163163

164+
[//]: # (REUSE-IgnoreStart)
164165
- Do not exceed 300 line of code per file.
165166
- Line length: **120 characters**
166167
- Standard Android Studio formatter with EditorConfig.
@@ -170,7 +171,7 @@ XML:
170171
- Every new file must end with exactly one empty trailing line (no more, no less).
171172
- Do not add comments, documentation for every function you created instead make it self explanatory as much as possible.
172173
- `ktlint_code_style = android_studio`; disabled ktlint rules: `import-ordering`, `no-consecutive-comments`; trailing commas disallowed
173-
- All new files must include an SPDX license header: `SPDX-License-Identifier: GPL-3.0-or-later`
174+
- All new files must include an SPDX license header: ` SPDX-License-Identifier: GPL-3.0-or-later `
174175
- Translations: only modify `values/strings.xml`; never the translated `values-*/strings.xml` files
175176
- Create models, states in different files instead of doing it one single file.
176177
- Do not use magic number.
@@ -180,6 +181,8 @@ XML:
180181
- Avoid hardcoded strings, colors, dimensions. Use resources.
181182
- Run lint, spotbugsGplayDebug, detekt, spotlessKotlinCheck and fix findings inside the files that have been changed.
182183

184+
[//]: # (REUSE-IgnoreEnd)
185+
183186
## Testing
184187

185188
- **Unit tests**: `app/src/test/` — JUnit 4, Mockito, Robolectric. Uses `includeAndroidResources = true`.

0 commit comments

Comments
 (0)