Skip to content

Commit

Permalink
Bump black versions to be consistent with #323. (#387)
Browse files Browse the repository at this point in the history
Co-authored-by: Wyatt <wyatt@redballoonsecurity.com>
  • Loading branch information
whyitfor and Wyatt committed Sep 29, 2023
1 parent 40a6015 commit c0b26e5
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-all.yml
Expand Up @@ -48,7 +48,7 @@ jobs:
cd frontend
npm install
sudo apt-get install shellcheck
python3 -m pip install black==22.6.0
python3 -m pip install black==23.3.0
- name: Lint frontend
run: |
cd frontend
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Expand Up @@ -14,6 +14,6 @@ repos:
- id: pyupgrade
args: ['--py37-plus']
- repo: https://github.com/psf/black
rev: 22.6.0
rev: 23.3.0
hooks:
- id: black-jupyter
Expand Up @@ -138,7 +138,6 @@ async def _prepare_ghidra_project(
async def analyze(
self, resource: Resource, config: Optional[GhidraProjectConfig] = None
) -> GhidraProject:

gzf = config.ghidra_zip_file if config is not None else None

async with self._prepare_ghidra_project(resource, gzf) as (ghidra_project, full_fname):
Expand Down Expand Up @@ -451,7 +450,6 @@ class GhidraCustomLoadAnalyzer(GhidraProjectAnalyzer):
async def analyze(
self, resource: Resource, config: Optional[GhidraProjectConfig] = None
) -> GhidraProject:

arch_info: ArchInfo = await resource.analyze(ProgramAttributes)
mem_blocks = await self._get_memory_blocks(await resource.view_as(Program))

Expand Down
2 changes: 1 addition & 1 deletion ofrak_io/setup.py
Expand Up @@ -32,7 +32,7 @@ def run(self):
],
extras_require={
"test": [
"black==22.6.0",
"black==23.3.0",
"fun-coverage==0.2.0",
"hypothesis~=6.39.3",
"mypy==0.942",
Expand Down
2 changes: 1 addition & 1 deletion ofrak_type/setup.py
Expand Up @@ -28,7 +28,7 @@ def run(self):
},
extras_require={
"test": [
"black==22.6.0",
"black==23.3.0",
"fun-coverage==0.2.0",
"hypothesis~=6.39.3",
"mypy==0.942",
Expand Down

0 comments on commit c0b26e5

Please sign in to comment.