1. 21 Jun, 2022 1 commit
  2. 05 May, 2022 1 commit
  3. 04 Mar, 2022 2 commits
  4. 21 Dec, 2021 1 commit
  5. 13 Oct, 2021 1 commit
  6. 05 Oct, 2021 1 commit
    • Sebastian Lohff's avatar
      Fix fo() backdoor command for non-class objects · eb191548
      Sebastian Lohff authored
      The backdoor command fo() uses isinstance() to check if an object is an
      instance of a class. This only works with objects that have a __class__
      attribute, else an AttributeError is raised by isinstance(). This is
      seldomly the case, though if there is one such object fo() will cease to
      work. Therefore we need to protect us against this case by checking for
      a __class__ attribute before calling isinstance().
      
      An example for an object without __class__ would be
      functools._lru_list_elem.
      
      Change-Id: Ia4c5cbdc249535d36f6e71f7b2a7359bc6fdf219
      Closes-Bug: #1946072
      eb191548
  7. 16 Sep, 2021 1 commit
    • Julia Kreger's avatar
      Fix BackOffLoopingCall error so it is not misleading · d3ee8ef0
      Julia Kreger authored
      The backoff looping call logging was previously making
      a decision on if timeout had or was going to be exceeded
      by including idle time and it's internal time, however
      this is misleading as the overall operation may take
      30 seconds externally, a user initiated timeout of 30
      seconds is requested, and the error might say something
      like 18 seconds has passed, when that is incorrect.
      
      The logic is actualy correct, the logging was just
      misleading.
      
      Fixes the exception message to use the total time.
      
      Change-Id: Ie9ef5a53abb24f6ab7de0ad57a672c0a8d7ff0ee
      d3ee8ef0
  8. 10 Sep, 2021 2 commits
  9. 01 Jun, 2021 1 commit
  10. 05 May, 2021 1 commit
    • YuehuiLei's avatar
      setup.cfg: Replace dashes with underscores · 19f369a6
      YuehuiLei authored
      Setuptools v54.1.0 introduces a warning that the use of dash-separated
      options in 'setup.cfg' will not be supported in a future version [1].
      Get ahead of the issue by replacing the dashes with underscores. Without
      this, we see 'UserWarning' messages like the following on new enough
      versions of setuptools:
      
        UserWarning: Usage of dash-separated 'description-file' will not be
        supported in future versions. Please use the underscore name
        'description_file' instead
      
      [1] https://github.com/pypa/setuptools/commit/a2e9ae4cb
      
      Change-Id: Ide75d5a0fb9215a81f0410b6ffa77849463cf888
      19f369a6
  11. 29 Apr, 2021 1 commit
  12. 16 Apr, 2021 3 commits
  13. 15 Apr, 2021 2 commits
  14. 23 Mar, 2021 1 commit
  15. 18 Mar, 2021 2 commits
  16. 19 Feb, 2021 1 commit
  17. 03 Feb, 2021 1 commit
  18. 21 Jan, 2021 1 commit
  19. 18 Jan, 2021 1 commit
  20. 14 Jan, 2021 1 commit
  21. 03 Jan, 2021 1 commit
  22. 24 Dec, 2020 1 commit
    • zhangboye's avatar
      Use TOX_CONSTRAINTS_FILE · 7e72bbf0
      zhangboye authored
      UPPER_CONSTRAINTS_FILE is old name and deprecated
      This allows to use upper-constraints file as more
      readable way instead of UPPER_CONSTRAINTS_FILE=<lower-constraints file>.
      
      Change-Id: Ice493f64ecabdeb7a66c14e1fd864c605c5384e5
      7e72bbf0
  23. 18 Dec, 2020 1 commit
  24. 30 Nov, 2020 1 commit
  25. 04 Nov, 2020 2 commits
  26. 01 Nov, 2020 1 commit
  27. 22 Sep, 2020 1 commit
  28. 11 Sep, 2020 2 commits
  29. 08 Sep, 2020 1 commit
    • Hervé Beraud's avatar
      Adding pre-commit · 10ce88ed
      Hervé Beraud authored
      Introduced changes:
      - pre-commit config and rules
      - Add pre-commit to pep8 gate, Flake8 is covered in the pre-commit hooks.
      - Applying fixes for pre-commit compliance in all code.
      
      Also commit hash will be used instead of version tags in pre-commit to
      prevend arbitrary code from running in developer's machines.
      
      pre-commit will be used to:
      - trailing whitespace;
      - Replaces or checks mixed line ending (mixed-line-ending);
      - Forbid files which have a UTF-8 byte-order marker
        (check-byte-order-marker);
      - Checks that non-binary executables have a proper
        shebang (check-executables-have-shebangs);
      - Check for files that contain merge conflict strings
        (check-merge-conflict);
      - Check for debugger imports and py37+ breakpoint()
        calls in python source (debug-statements);
      - Attempts to load all yaml files to verify syntax (check-yaml);
      - Run flake8 checks (flake8) (local)
      
      For further details about tests please refer to:
      https://github.com/pre-commit/pre-commit-hooks
      
      Change-Id: Ib18f38dbec9...
      10ce88ed
  30. 06 Aug, 2020 2 commits
  31. 04 Aug, 2020 1 commit