diff --git a/.github/ISSUE_TEMPLATE/broker_support_en.md b/.github/ISSUE_TEMPLATE/broker_support_en.md new file mode 100644 index 0000000..26ac764 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/broker_support_en.md @@ -0,0 +1,62 @@ +--- +name: "\U0001F1EC\U0001F1E7 Broker support request" +about: Request support for a new broker, or report a broker's CSV format change +title: "[BROKER] " +labels: ["broker-support", "help wanted"] +--- + + + +## Broker + +- **Name**: +- **Region** (US / EU / PL / other): +- **Asset class** (stocks / crypto / both): +- **Website** (helpful for sample format docs): + +## Sanitized export sample + + + +```csv +paste sanitized CSV here +``` + +## Typical columns + + + +## Operation types observed + + + +## Known quirks + + + +## Tax year coverage + + + +## Can you help implement? + +- [ ] I'd like to contribute the plugin myself (plugin dev docs coming — see #49, #50) +- [ ] I can provide test data but not code +- [ ] Just a request + +## Additional context + + diff --git a/.github/ISSUE_TEMPLATE/broker_support_pl.md b/.github/ISSUE_TEMPLATE/broker_support_pl.md new file mode 100644 index 0000000..a112f24 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/broker_support_pl.md @@ -0,0 +1,62 @@ +--- +name: "\U0001F1F5\U0001F1F1 Prośba o obsługę brokera" +about: Poproś o wsparcie nowego brokera lub zgłoś zmianę formatu CSV +title: "[BROKER] " +labels: ["broker-support", "help wanted"] +--- + + + +## Broker + +- **Nazwa**: +- **Region** (US / EU / PL / inny): +- **Klasa aktywów** (akcje / krypto / oba): +- **Strona** (pomocna dla znalezienia dokumentacji formatu): + +## Zanonimizowany sample eksportu + + + +```csv +wklej tutaj zanonimizowany CSV +``` + +## Typowe kolumny + + + +## Zaobserwowane typy operacji + + + +## Znane kwirki + + + +## Zakres lat podatkowych + + + +## Czy możesz pomóc w implementacji? + +- [ ] Chcę napisać plugin samodzielnie (dokumentacja pluginu nadchodzi — patrz #49, #50) +- [ ] Mogę dostarczyć dane testowe, ale nie kod +- [ ] Tylko prośba + +## Dodatkowy kontekst + + diff --git a/.github/ISSUE_TEMPLATE/bug_report_en.md b/.github/ISSUE_TEMPLATE/bug_report_en.md new file mode 100644 index 0000000..b1c187f --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report_en.md @@ -0,0 +1,54 @@ +--- +name: "\U0001F1EC\U0001F1E7 Bug report" +about: Report incorrect tax calculations or tool crashes +title: "[BUG] " +labels: ["bug"] +--- + + + +## Environment + +- **pit-38 version** (run `pip show pit-38 | grep Version`): +- **Python version**: +- **Operating system**: +- **Broker(s) involved**: +- **Tax year being calculated**: + +## What happened + + + +## Minimal CSV to reproduce + + + +```csv +paste sanitized CSV here +``` + +## Expected tax output + + + +## Actual tax output or error + + + +``` +paste output here +``` + +## Additional context + + diff --git a/.github/ISSUE_TEMPLATE/bug_report_pl.md b/.github/ISSUE_TEMPLATE/bug_report_pl.md new file mode 100644 index 0000000..f03945a --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report_pl.md @@ -0,0 +1,55 @@ +--- +name: "\U0001F1F5\U0001F1F1 Zgłoszenie błędu" +about: Zgłoś nieprawidłowe obliczenia podatku lub awarię narzędzia +title: "[BŁĄD] " +labels: ["bug"] +--- + + + +## Środowisko + +- **Wersja pit-38** (uruchom `pip show pit-38 | grep Version`): +- **Wersja Pythona**: +- **System operacyjny**: +- **Broker(zy)**: +- **Rok podatkowy**: + +## Co się stało + + + +## Minimalny plik CSV do odtworzenia + + + +```csv +wklej tutaj zanonimizowany CSV +``` + +## Oczekiwany wynik podatku + + + +## Faktyczny wynik lub błąd + + + +``` +wklej output tutaj +``` + +## Dodatkowe informacje + + diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..6e1df5a --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,11 @@ +blank_issues_enabled: false +contact_links: + - name: 💬 Tax-rule Q&A (use Discussions) + url: https://github.com/pbialon/pit-38/discussions/categories/q-a + about: Questions about interpretation of Polish tax law belong in Discussions, not Issues. Use this if you're not reporting a code bug. + - name: 💬 Pytania o zasady podatkowe (Discussions) + url: https://github.com/pbialon/pit-38/discussions/categories/q-a + about: Pytania o interpretację polskiego prawa podatkowego — Discussions, nie Issues. Użyj jeśli nie zgłaszasz błędu w kodzie. + - name: 🏦 Broker support discussion + url: https://github.com/pbialon/pit-38/discussions/categories/broker-support + about: Informal discussion about a broker before opening a formal support request. Share sanitized CSV samples, compare workflows. diff --git a/.github/ISSUE_TEMPLATE/feature_request_en.md b/.github/ISSUE_TEMPLATE/feature_request_en.md new file mode 100644 index 0000000..2e40b49 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request_en.md @@ -0,0 +1,37 @@ +--- +name: "\U0001F1EC\U0001F1E7 Feature request" +about: Suggest an improvement or new capability +title: "[FEATURE] " +labels: ["enhancement"] +--- + + + +## User story + + + +## Motivation + + + +## Proposed scope + + + +## Out of scope + + + +## Alternatives considered + + + +## Additional context + + diff --git a/.github/ISSUE_TEMPLATE/feature_request_pl.md b/.github/ISSUE_TEMPLATE/feature_request_pl.md new file mode 100644 index 0000000..ff94e6c --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request_pl.md @@ -0,0 +1,37 @@ +--- +name: "\U0001F1F5\U0001F1F1 Propozycja funkcji" +about: Zasugeruj ulepszenie lub nową funkcję +title: "[FUNKCJA] " +labels: ["enhancement"] +--- + + + +## User story + + + +## Motywacja + + + +## Proponowany zakres + + + +## Poza zakresem + + + +## Rozważone alternatywy + + + +## Dodatkowy kontekst + + diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 0000000..f9259e7 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,48 @@ + + +## Summary + + + +Closes # + +## Changes + + + +- + +## Tax-correctness impact + + + +- [ ] **No impact** — purely refactor, docs, tests, CI +- [ ] **Yes, tax output changes** — explain what and why, and whether + existing test expectations were updated + + + +## Testing + +- [ ] `pytest tests/` passes locally +- [ ] Added tests for new behaviour (or explained why not applicable) +- [ ] Tested on a real CSV if tax-calc change + + + +## Documentation + +- [ ] Updated `TAX_RULES.md` / `TAX_RULES.pl.md` if tax rules clarified or corrected +- [ ] Updated `CHANGELOG.md` with an entry +- [ ] Updated relevant README / plugin docs +- [ ] Updated `TAX_LAW_AUDIT.md` if this closes an audit issue + +## Reviewer notes + +