3cn-ecn / nantralPlatform

Nantral Platform is a website project for clubs, events and more in Centrale Nantes
https://nantral-platform.fr
MIT License
21 stars 2 forks source link

Added possibility to reset colocs from the admin panel #1131

Closed KerianFiter closed 11 months ago

KerianFiter commented 11 months ago

Tests

  1. Go to the admin panel
  2. Go to Colocs
  3. Select a few colocs to reset
  4. Go to action and use the reset action
  5. The selected colocs should be reset
charles-zablit commented 11 months ago

Seems like there is some stuff the linter is not happy about :/

apps/roommates/admin.py
    61:   1 D210 No whitespaces allowed surrounding docstring text [flake8-docstrings]
    61:   1 D400 First line should end with a period [flake8-docstrings]
    59:   5 E301 expected 1 blank line, found 0 [pycodestyle]

If you could fix that and squash your commits (commit the new fix, do git reset HEAD~3 then recommit your changes and force push) Thanks 🚀

sonarcloud[bot] commented 11 months ago

[Nantral Platform Backend] Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

30.0% 30.0% Coverage
0.0% 0.0% Duplication