Skip to content

FC-0057: add makefile command for black formatting#32

Merged
Faraz32123 merged 4 commits intomasterfrom
feat/add_makefile_command_for_black
Aug 15, 2024
Merged

FC-0057: add makefile command for black formatting#32
Faraz32123 merged 4 commits intomasterfrom
feat/add_makefile_command_for_black

Conversation

@Faraz32123
Copy link
Copy Markdown
Contributor

  • make test-format command view the files under forum/ tests/ test_utils/ directories that needs formatting
  • make format command format all files under forum/ tests/ test_utils/ directories
  • add black to dev requirements
  • close Make sure code is properly formatted by black in CI #31

@Faraz32123 Faraz32123 self-assigned this Aug 12, 2024
@Faraz32123 Faraz32123 changed the title feat: add makefile command for black formatting FC-0057: add makefile command for black formatting Aug 12, 2024
@Faraz32123 Faraz32123 requested a review from regisb August 12, 2024 13:21
@Faraz32123 Faraz32123 force-pushed the feat/add_makefile_command_for_black branch from 1b0e7d3 to 7c90c91 Compare August 15, 2024 07:36
Comment thread Makefile
- `make test-format` command
  view the files under forum/ tests/ test_utils/ directories that needs formatting
- `make format` command
  format all files under forum/ tests/ test_utils/ directories
- add black to dev requirements
@Faraz32123 Faraz32123 force-pushed the feat/add_makefile_command_for_black branch from 7c90c91 to 3cf1fb9 Compare August 15, 2024 07:45
@Faraz32123 Faraz32123 force-pushed the feat/add_makefile_command_for_black branch from 2360c71 to a4cc093 Compare August 15, 2024 07:49
@Faraz32123
Copy link
Copy Markdown
Contributor Author

I haven't added black in requirements yet, that's why tests are failing.

Comment thread requirements/dev.in Outdated
- include black in requirements
- upgrade requirements with python 3.11
@Faraz32123 Faraz32123 force-pushed the feat/add_makefile_command_for_black branch from b1ed816 to d5f612e Compare August 15, 2024 10:24
- remove isort from quality checks as it should be optional if someone wants to check it locally
- formatted the remaining file with black that had a conflict with isort
@Faraz32123 Faraz32123 requested a review from regisb August 15, 2024 11:22
@Faraz32123 Faraz32123 merged commit c16d40f into master Aug 15, 2024
@taimoor-ahmed-1 taimoor-ahmed-1 deleted the feat/add_makefile_command_for_black branch February 14, 2025 09:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make sure code is properly formatted by black in CI

3 participants