Skip to content

Commit

Permalink
Update dependency autopep8 to v2 (#2366)
Browse files Browse the repository at this point in the history
* Update dependency autopep8 to v2

---------

Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
Co-authored-by: Michael Wolf <michael.wolf@elastic.co>
  • Loading branch information
elastic-renovate-prod[bot] and mjwolf committed Aug 27, 2024
1 parent a793bb2 commit e3e73de
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scripts/requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# License: MIT
autopep8==1.7.0
autopep8==2.3.1
# License: BSD
mock==5.1.0
# License: GPLv3
Expand Down
2 changes: 1 addition & 1 deletion scripts/tests/test_asciidoc_fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def dummy_nested_event_fieldset(self):

def test_validate_sort_fieldset(self):
sorted_foo_fields = asciidoc_fields.sort_fields(self.foo_fieldset)
#import pdb;pdb.set_trace()
# import pdb;pdb.set_trace()
self.assertIsInstance(sorted_foo_fields, list)

# `allowed_value_names` always present
Expand Down
2 changes: 1 addition & 1 deletion scripts/tests/test_ecs_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def test_glob_yaml_files(self):
self.assertEqual(ecs_helpers.glob_yaml_files('non_existent_wildcard.*'), [])
self.assertEqual(ecs_helpers.glob_yaml_files('schemas/base.yml'), ['schemas/base.yml'])
self.assertEqual(ecs_helpers.glob_yaml_files(['schemas/base.yml']), ['schemas/base.yml'])
# convert to set as element order is not being tested
#  convert to set as element order is not being tested
self.assertEqual(set(ecs_helpers.glob_yaml_files(
['schemas/base.yml', 'schemas/log.yml'])), {'schemas/base.yml', 'schemas/log.yml'})
self.assertTrue(set(ecs_helpers.glob_yaml_files('schemas/b*.yml')).intersection({'schemas/base.yml'}) != set())
Expand Down

0 comments on commit e3e73de

Please sign in to comment.