Skip to content

Commit f976afc

Browse files
authored
Rename package, tweak color set (#1)
1 parent d3a5cfc commit f976afc

File tree

8 files changed

+13
-13
lines changed

8 files changed

+13
-13
lines changed

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
colcon-ansi-colors-example
2-
==========================
1+
colcon-ansi-colors
2+
==================
33

44
An extension for `colcon-core <https://github.com/colcon/colcon-core>`_ to colorize output using ANSI sequences.
File renamed without changes.

colcon_ansi_colors_example/output_style/catkin_tools.py renamed to colcon_ansi_colors/output_style/catkin_tools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def apply_style(self, style): # noqa: D102
7575
style.PackageOrJobName = AnsiEscape.Cyan
7676
style.Pictogram = AnsiEscape.Bright + AnsiEscape.Green
7777
style.SectionStart = AnsiEscape.Default
78-
style.SectionEnd = AnsiEscape.Bright + AnsiEscape.Black
78+
style.SectionEnd = AnsiEscape.Faint + AnsiEscape.Default
7979
style.Strong = AnsiEscape.Bright
8080
style.Success = AnsiEscape.Green
8181
style.Warning = AnsiEscape.Yellow

setup.cfg

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[metadata]
2-
name = colcon-ansi-colors-example
3-
version = attr: colcon_ansi_colors_example.__version__
2+
name = colcon-ansi-colors
3+
version = attr: colcon_ansi_colors.__version__
44
url = https://colcon.readthedocs.io
55
project_urls =
6-
Changelog = https://github.com/colcon/colcon-ansi-colors-example/milestones?direction=desc&sort=due_date&state=closed
7-
GitHub = https://github.com/colcon/colcon-ansi-colors-example/
6+
Changelog = https://github.com/colcon/colcon-ansi-colors/milestones?direction=desc&sort=due_date&state=closed
7+
GitHub = https://github.com/colcon/colcon-ansi-colors/
88
author = Scott K Logan
99
author_email = [email protected]
1010
classifiers =
@@ -46,17 +46,17 @@ test =
4646
scspell3k>=2.2
4747

4848
[tool:pytest]
49-
junit_suite_name = colcon-ansi-colors-example
49+
junit_suite_name = colcon-ansi-colors
5050
markers =
5151
flake8
5252
linter
5353

5454
[options.entry_points]
5555
colcon_core.output_style =
56-
catkin_tools = colcon_ansi_colors_example.output_style.catkin_tools:CatkinToolsOutputStyle
56+
catkin_tools = colcon_ansi_colors.output_style.catkin_tools:CatkinToolsOutputStyle
5757

5858
[flake8]
5959
import-order-style = google
6060

6161
[coverage:run]
62-
source = colcon_ansi_colors_example
62+
source = colcon_ansi_colors

stdeb.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[colcon-ansi-colors-example]
1+
[colcon-ansi-colors]
22
No-Python2:
33
Depends3: python3-colcon-core
44
Suite: focal jammy noble bookworm trixie

test/test_flake8.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def test_flake8():
3333
sys.stdout = sys.stderr
3434
# implicitly calls report_errors()
3535
report = style_guide.check_files([
36-
str(Path(__file__).parents[1] / 'colcon_ansi_colors_example'),
36+
str(Path(__file__).parents[1] / 'colcon_ansi_colors'),
3737
])
3838
report_tests = style_guide_tests.check_files([
3939
str(Path(__file__).parents[1] / 'test'),

test/test_spell_check.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def test_spell_check(known_words):
2121

2222
source_filenames = [Path(__file__).parents[1] / 'setup.py'] + \
2323
list(
24-
(Path(__file__).parents[1] / 'colcon_ansi_colors_example')
24+
(Path(__file__).parents[1] / 'colcon_ansi_colors')
2525
.glob('**/*.py')) + \
2626
list((Path(__file__).parents[1] / 'test').glob('**/*.py'))
2727

0 commit comments

Comments
 (0)