Skip to content
Snippets Groups Projects

Added ruff bugbear and simplify rules and reformatted code accordingly

Merged Simon Bjurek requested to merge add-ruff-settings into master
3 unresolved threads
  • Added ruff bugbear and simplify rules and reformatted code accordingly.

Merge request reports

Pipeline #158999 passed

Pipeline passed for bd033580 on add-ruff-settings

Test coverage 79.00% (0.00%) from 8 jobs
Approval is optional

Merged by Oscar GustafssonOscar Gustafsson 1 week ago (Mar 16, 2025 2:20pm UTC)

Loading

Pipeline #159002 passed

Pipeline passed for 60587da5 on master

Test coverage 79.00% (0.00%) from 8 jobs

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Simon Bjurek marked this merge request as ready

    marked this merge request as ready

  • Oscar Gustafsson
  • 415 415 raise ValueError("Points must be a power of two.")
    416 416
    417 417 inputs = []
    418 for i in range(points):
    418 for _ in range(points):
    419 419 inputs.append(Input())
  • 430 430
    431 431 ports = _get_bit_reversed_ports(ports)
    432 432 outputs = []
    433 for i, port in enumerate(ports):
    433 for port in ports:
    434 434 outputs.append(Output(port))
  • Simon Bjurek added 3 commits

    added 3 commits

    Compare with previous version

  • Simon Bjurek marked this merge request as draft

    marked this merge request as draft

  • Simon Bjurek added 1 commit

    added 1 commit

    • c899092d - added ruff bugbear and simplify rules and reformatted code accordingly

    Compare with previous version

  • Simon Bjurek added 2 commits

    added 2 commits

    • 9f43681a - 1 commit from branch master
    • 41c2a742 - added ruff bugbear and simplify rules and reformatted code accordingly

    Compare with previous version

  • Simon Bjurek added 1 commit

    added 1 commit

    • e7b8d69d - added ruff bugbear and simplify rules and reformatted code accordingly

    Compare with previous version

  • Simon Bjurek added 1 commit

    added 1 commit

    • f15c875b - added ruff bugbear and simplify rules and reformatted code accordingly

    Compare with previous version

  • Simon Bjurek added 1 commit

    added 1 commit

    • b759934e - added ruff bugbear and simplify rules and reformatted code accordingly

    Compare with previous version

  • Simon Bjurek marked this merge request as ready

    marked this merge request as ready

  • Simon Bjurek marked this merge request as draft

    marked this merge request as draft

  • Simon Bjurek added 1 commit

    added 1 commit

    • bd033580 - added ruff bugbear and simplify rules and reformatted code accordingly

    Compare with previous version

  • 2036 2045 mat_content[row, column] += temp_value
    2037 2046 return matrix_answer, mat_content, matrix_in
    2038 2047
    2039 def find_all_paths(self, graph: dict, start: str, end: str, path=[]) -> list:
    2048 def find_all_paths(
    2049 self, graph: dict, start: str, end: str, path: list | None = None
    2050 ) -> list:
  • Simon Bjurek marked this merge request as ready

    marked this merge request as ready

  • Oscar Gustafsson approved this merge request

    approved this merge request

  • Please register or sign in to reply
    Loading