Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

Commit

Permalink
Fix usage of rich but not alowed here
Browse files Browse the repository at this point in the history
  • Loading branch information
Saverio976 committed Apr 29, 2022
1 parent 054997d commit f1b8fdf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion normatrix/normatrix/source/print_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def print_stats_color(context: Context, stats: list, files: list, nb_line: int)
def print_stats(context: Context, stats: list, files: list, nb_line: int) -> None:
if context.output_format in ["html", "md"]:
print_stats_md_html(context, stats, files, nb_line)
elif context.output_format == "term_rich" or rich_present == True:
elif context.output_format == "term_rich" and rich_present == True:
print_stats_rich(context, stats, files, nb_line)
else:
print_stats_color(context, stats, files, nb_line)
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "normatrix"
version = "0.3.3.001"
version = "0.3.3.002"
authors = [ {name = "Saverio", email = "personnex976@gmail.com"} ]
readme = "README.md"
description = "check epitech c coding style"
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = normatrix
version = 0.3.3.001
version = 0.3.3.002
author = Saverio
author_email = personnex976@gmail.com
description = check epitech c coding style
Expand Down

0 comments on commit f1b8fdf

Please sign in to comment.