Šarūnas Nejus
ecc4a72f2c
Add a note about ownership
2025-09-06 17:43:16 +01:00
Šarūnas Nejus
a0ae664ae0
Add a note about SQL injection
2025-08-30 23:10:22 +01:00
Šarūnas Nejus
d93ddf8dd4
Do not use explicit indices for logging args when not needed
2025-08-30 23:10:21 +01:00
Šarūnas Nejus
a7c83d91e9
Replace slightly more advanced attempts to use format calls
2025-08-30 22:35:00 +01:00
Šarūnas Nejus
4a361bd501
Replace format calls with f-strings
2025-08-30 18:42:26 +01:00
Šarūnas Nejus
2447d000bc
Include a note about docs formatting/linting to CONTRIBUTING.rst
2025-08-10 16:25:05 +01:00
Šarūnas Nejus
ab5acaabb3
Reformat all docs using docstrfmt
2025-08-10 16:25:05 +01:00
Manu
8e84268e06
Replace outdated bitesized label link
2025-05-21 11:13:50 +01:00
Šarūnas Nejus
28781e9077
Pin Poetry version <2
2025-05-14 10:42:07 +01:00
Benedikt
3c177b56fb
remove outdated advice from Python 2 times in CONTRIBUTING.rst ( #5733 )
2025-04-16 10:51:09 +02:00
Šarūnas Nejus
fc49902f3a
Refactor lyrics backend tests to use pytest fixtures
...
- Replaced unittest.mock with pytest fixtures for better test isolation and readability.
- Simplified test cases by using parameterized tests.
- Added `requests-mock` dependency to `pyproject.toml` and `poetry.lock`.
- Removed redundant helper functions and classes.
2025-01-19 01:33:15 +00:00
Šarūnas Nejus
7be8f9c97a
Update CI config, minimum ruff version, docs and add changelog note
2024-12-10 06:10:03 +00:00
Andrew Rogl
04ee04150a
Reworked #4709 after latest release ( #5447 )
...
Fixes #4709 SQL use of Double Quoted Strings.
2024-09-30 10:28:15 +01:00
Šarūnas Nejus
11fa6c7b3f
Introduce integration_test marker and update testing docs
2024-09-21 13:26:05 +01:00
Šarūnas Nejus
edeb430842
Fix coverage task docs
2024-09-21 13:26:05 +01:00
Šarūnas Nejus
06a5ecaf80
Replace isort and black by ruff format
2024-09-21 11:29:24 +01:00
Šarūnas Nejus
bfd9753314
Remove tox
...
Unfortunately tox does not play very nicely with Poetry. Tox was mostly
useful since it managed virtual environments, however now this is done
by Poetry.
Thus we do not anymore need it since we can run our commands using
`poetry run`. I have extended the internal helper tool 'project' with
those commands that have previously been run using tox.
2024-06-10 13:46:25 +01:00
Šarūnas Nejus
347911cdee
Introduce Poe the Poet task runner and define tasks.
...
This makes it easier for people to interact with the project in
a unified manner.
2024-06-10 13:46:25 +01:00
Šarūnas Nejus
7bbd215efc
Update all docs with Poetry
2024-06-10 13:10:16 +01:00
Šarūnas Nejus
65bfbda9e7
Remove windows windows/tox specific instructions
...
On Python 3.8 this is irrelevant since in all cases tox v4 will be
installed which works fine.
2024-06-05 04:41:02 +01:00
fae
4da86c7846
Fix some broken/outdated links
2023-11-18 08:37:10 -05:00
Emil
2d52fddad8
Remove trailing space
2023-11-10 12:34:02 +01:00
Emil
2154cbb694
Remove suggestion to use detox
...
Detox is deprecated: https://github.com/tox-dev/detox
2023-11-10 12:31:37 +01:00
Serene-Arc
c2c2ff638e
Integrate code of conduct
2023-10-27 21:55:13 +10:00
Serene-Arc
c40736706b
Add reference to CoC
2023-10-27 20:42:25 +10:00
J0J0 Todos
8260427168
Fix all occurences of Discourse to GH-Discussions
...
and rephrase a little if required. Often "our forums" was stated. Mostly
I tried to use the wording "discussion board" throughout and (almost) never used
the term "GitHub Discussions"
2023-10-23 09:51:52 +02:00
Serene-Arc
8a93ce8cce
Add instruction to format with tox
2023-10-22 09:50:33 +10:00
Serene-Arc
cad07f370f
Update formatting reference
2023-10-22 09:50:33 +10:00
Serene-Arc
226ea5816c
Add pre-commit to docs for devs
2023-10-22 09:50:33 +10:00
Sam Taylor
97ac7543b6
Update CONTRIBUTING.rst
...
Changed line 291 from ``python -m pip install tox=3.8.3`` to ``python -m pip install tox==3.8.3`` as shown in the 7th example: https://pip.pypa.io/en/stable/cli/pip_install/#examples , this is the correct way to install specific versions.
2023-09-01 08:52:25 +01:00
luzpaz
8419149c7a
Fix various typos
2023-08-09 21:26:15 -04:00
wisp3rwind
f419543f07
docs: remove unused link target, update links to python docs
2022-12-18 09:20:04 +01:00
wisp3rwind
c1df4fc8c2
CONTRIBUTING.rst: minor Python 3 adaptation
2022-01-19 22:53:08 +01:00
wisp3rwind
c8bfad5e17
docs: fix links that were failing sphinx' linkcheck
...
There's one stale link left for the gmusic plugin, which should be fixed
by removing the plugin, see #4089
2021-10-04 16:14:14 +02:00
jtpavlock
c9f59ee38d
Add broken link checker to integration test ( #3703 )
...
* fix broken links
* add link check command to tox
* add link check to the weekly integration test
2020-09-04 15:42:36 -05:00
Jacob Pavlock
02fcbea676
add google docstring convention to CONTRIBUTING.rst
2020-07-29 17:21:15 -07:00
jtpavlock
0cd102b0dd
Update pytest test writing restriction
...
I think the basics sections is fairly self explanatory at this point especially with the copious amounts of examples we have. Also, if we kept it, we'd have to expand on pytest basics as well. I'd rather just point to the docs/getting started guides for each.
2020-07-29 12:39:59 -07:00
Jacob Pavlock
9ee341374a
fix subheading in contributing.rst
2020-07-25 15:57:02 -07:00
jtpavlock
043fa10f55
Add tox windows issue to CONTRIBUTING.rst
2020-07-25 13:03:17 -07:00
Jacob Pavlock
9690e4d51f
improve code blocks
2020-07-21 14:49:51 -07:00
Jacob Pavlock
bf868be10e
fix-up adding testing wiki to contributing.rst
2020-07-21 14:44:02 -07:00
Jacob Pavlock
f677fd2407
add testing wiki to contributing.rst
2020-07-20 19:56:05 -07:00
Jacob Pavlock
66e6af48be
add table of contents to contributing.rst
2020-07-20 19:56:05 -07:00
Jacob Pavlock
faa5553468
convert CONTRIBUTING.md to rst
2020-07-20 19:46:12 -07:00