Skip to content
Snippets Groups Projects
  1. Jan 13, 2023
    • Saurabh Kumar's avatar
      Replace flake8 & isort with ruff (#3103) · 5eab4ac4
      Saurabh Kumar authored
      Fixes #3101
      
      - Remove `make sort` and `make sort-fix` make targerts
      - Use `make lint` and `make lint-fix` instead.
      - Make use of GitHub Annotation to surface issues as annotations
      directly in the files changed, similar to CodeQL.
      - Move stuff from `setup.cfg` to `pyproject.toml`
      - Fixed the potentially buggy code. Each of the fix types is in
      individual commits.
      Unverified
      5eab4ac4
  2. Jan 03, 2023
    • Saurabh Kumar's avatar
      Maintainance fix depreciation warnings (#3092) · a3cd4f9e
      Saurabh Kumar authored
      - Fix test for EmailMessage task
       - Add tablib dependency for Wagtail ExportAdmin
       - Fix DeprecationWarning for django_table2
       - Fix depreciationwarning for beautifulSoup
       - Fix RemovedInDjango41Warning for default_app_config
       - Fix DjangoRemovedIn4.0 warning Middleware always require a function
       - Upgrade boto3 and scout-apm
       - Update pytest-cov to 4.0.0 from 3.0.0
       - Upgrade djangorestframework-api-key to 1.2.0
       - Rename “app” to “apps”
      Unverified
      a3cd4f9e
  3. Nov 11, 2022
  4. Aug 31, 2022
  5. Aug 28, 2022
    • Saurabh Kumar's avatar
      Improve testing and development experience · 91a25396
      Saurabh Kumar authored
      - Add “make test” command to lint, test and report coverage
      - Add pytest runner 
        - It automatically set up to use the correct Django settings module
        - Runs tests on all the available CPU, I was able to run all the test in total=~30sec using “make test” command.
        - It provides a cleaner error report, compared to DjangoTestRunner
      - Coverage
        - Displayed the report on the terminal after the test finish
        - Disable reporting of coverage for test and migration files
        - Enable coverage reporting for the template files
        - “make test” generates HTML reports to quickly check the coverage of each file
      91a25396
  6. Aug 02, 2022
  7. Aug 01, 2022
  8. Dec 08, 2021
  9. Aug 31, 2021
  10. Aug 25, 2021
  11. Apr 15, 2021
  12. Jan 18, 2021
  13. Nov 30, 2020
  14. Aug 20, 2020
  15. Jun 25, 2020
  16. May 27, 2020
  17. May 26, 2020
  18. Feb 24, 2020
  19. Feb 10, 2020
  20. Feb 03, 2020
  21. Dec 05, 2019
  22. Nov 07, 2019
  23. Nov 05, 2019
Loading