Skip to content

Commit

Permalink
Clean up some rebase issues
Browse files Browse the repository at this point in the history
  • Loading branch information
kddejong committed Apr 26, 2024
1 parent d75bd6f commit de442c3
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 23 deletions.
2 changes: 1 addition & 1 deletion src/cfnlint/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import os
import sys
from pathlib import Path
from typing import Any, Dict, List, TypedDict, Sequence
from typing import Any, Dict, List, Sequence, TypedDict

from typing_extensions import Unpack

Expand Down
2 changes: 1 addition & 1 deletion test/integration/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@

import json
import subprocess
from pathlib import Path
import unittest
from pathlib import Path
from typing import Any, Dict, List

from cfnlint.config import configure_logging
Expand Down
20 changes: 0 additions & 20 deletions test/integration/test_directives.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,10 @@ class TestDirectives(BaseCliTestCase):
"exit_code": 2,
"results": [
{
<<<<<<< HEAD
"Filename": str(
Path("test/fixtures/templates/bad/core/directives.yaml")
),
=======
"Filename": "test/fixtures/templates/bad/core/directives.yaml",
"Id": "4d8d1fd7-496f-9420-44df-f053d372c3be",
>>>>>>> b819ff41a (V1 - cleanup/2024/03/14 (#3115))
"Level": "Error",
"Location": {
"End": {"ColumnNumber": 18, "LineNumber": 17},
Expand All @@ -54,14 +50,10 @@ class TestDirectives(BaseCliTestCase):
},
},
{
<<<<<<< HEAD
"Filename": str(
Path("test/fixtures/templates/bad/core/directives.yaml")
),
=======
"Filename": "test/fixtures/templates/bad/core/directives.yaml",
"Id": "dd126795-8106-b986-19ed-db769ee48fba",
>>>>>>> b819ff41a (V1 - cleanup/2024/03/14 (#3115))
"Level": "Error",
"Location": {
"End": {"ColumnNumber": 13, "LineNumber": 28},
Expand All @@ -86,14 +78,10 @@ class TestDirectives(BaseCliTestCase):
},
},
{
<<<<<<< HEAD
"Filename": str(
Path("test/fixtures/templates/bad/core/directives.yaml")
),
=======
"Filename": "test/fixtures/templates/bad/core/directives.yaml",
"Id": "431970a8-482e-2aca-af3f-5d4f819f0b45",
>>>>>>> b819ff41a (V1 - cleanup/2024/03/14 (#3115))
"Level": "Error",
"Location": {
"End": {"ColumnNumber": 16, "LineNumber": 32},
Expand All @@ -119,14 +107,10 @@ class TestDirectives(BaseCliTestCase):
},
},
{
<<<<<<< HEAD
"Filename": str(
Path("test/fixtures/templates/bad/core/directives.yaml")
),
=======
"Filename": "test/fixtures/templates/bad/core/directives.yaml",
"Id": "814e8b07-dcef-f3ac-4285-8032d1fb010e",
>>>>>>> b819ff41a (V1 - cleanup/2024/03/14 (#3115))
"Level": "Error",
"Location": {
"End": {"ColumnNumber": 13, "LineNumber": 35},
Expand All @@ -151,14 +135,10 @@ class TestDirectives(BaseCliTestCase):
},
},
{
<<<<<<< HEAD
"Filename": str(
Path("test/fixtures/templates/bad/core/directives.yaml")
),
=======
"Filename": "test/fixtures/templates/bad/core/directives.yaml",
"Id": "2637b826-b8a7-4e03-8b27-bf8e8d4d12ee",
>>>>>>> b819ff41a (V1 - cleanup/2024/03/14 (#3115))
"Level": "Error",
"Location": {
"End": {"ColumnNumber": 15, "LineNumber": 37},
Expand Down
1 change: 0 additions & 1 deletion test/unit/module/formatters/test_formatters.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

import json
import sys
import xml.etree.ElementTree as ET
from pathlib import Path
from test.testlib.testcase import BaseTestCase

Expand Down

0 comments on commit de442c3

Please sign in to comment.