{"id":16678886,"url":"https://github.com/flother/blake.novaextension","last_synced_at":"2025-04-09T21:53:04.986Z","repository":{"id":48449451,"uuid":"296729045","full_name":"flother/Blake.novaextension","owner":"flother","description":"A Nova extension to lint your Python source code with Flake8, and format it with Black","archived":false,"fork":false,"pushed_at":"2023-10-27T08:46:44.000Z","size":81,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-09T21:52:58.011Z","etag":null,"topics":["flake8","linter","nova-editor","nova-extension","python"],"latest_commit_sha":null,"homepage":"https://extensions.panic.com/extensions/is.flother/is.flother.Blake/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/flother.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-09-18T21:01:39.000Z","updated_at":"2023-11-04T09:23:13.000Z","dependencies_parsed_at":"2023-02-12T15:40:13.518Z","dependency_job_id":"1cc155d5-fdfa-48c7-aff5-357e0c14a529","html_url":"https://github.com/flother/Blake.novaextension","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flother%2FBlake.novaextension","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flother%2FBlake.novaextension/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flother%2FBlake.novaextension/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flother%2FBlake.novaextension/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flother","download_url":"https://codeload.github.com/flother/Blake.novaextension/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248119401,"owners_count":21050754,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["flake8","linter","nova-editor","nova-extension","python"],"created_at":"2024-10-12T13:31:51.115Z","updated_at":"2025-04-09T21:53:04.957Z","avatar_url":"https://github.com/flother.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Blake: a [Nova](https://nova.app/) extension for linting your Python source code with [Flake8](https://flake8.pycqa.org/), and formatting your code with [Black](https://black.readthedocs.io/).\n\nBlake runs Flake8 when you save a Python file, and reports any warnings and errors in [Nova's issues sidebar](https://library.panic.com/nova/sidebar/). You can also choose to format your code with Black every time you save, or just using the _Editor_ ➞ _Format Source Code with Black_ menu item whenever you wish (shortcut: ⌘⇧B).\n\n# Prerequisites\n\nBefore using Blake you need to install Flake8 and Black. The recommended method is to use [Homebrew](https://brew.sh) and [Pipx](https://pipxproject.github.io/pipx/).\n\n1. [Install Homebrew](https://brew.sh)\n2. [Install Pipx](https://pipxproject.github.io/pipx/installation/#install-pipx)\n3. Install Flake8: `pipx install flake8`\n4. Install Black: `pipx install black`\n\nIf everything goes to plan, the `flake8` and `black` CLIs will be available globally.\n\nIf you do use Pipx to install Flake8 you can later install your favourite [Flake8 plugins](https://github.com/DmytroLitvinov/awesome-flake8-extensions) by [injecting them into the virtual environment](https://pipxproject.github.io/pipx/examples/#pipx-inject-example). For example, to install the [flake8-docstrings](https://gitlab.com/pycqa/flake8-docstrings) plugin: `pipx inject flake8 flake8-docstrings`. The extra warnings and violations provided by the plugin will be immediately and automatically available to both Blake and the `flake8` CLI.\n\n# Installation\n\nYou can install Blake from [Nova's online extension library](https://extensions.panic.com/extensions/is.flother/is.flother.Blake/), or you can install it from within Nova itself (select _Extension Library..._ from the _Extensions_ menu and search for \"blake\").\n\nIf you want to install a version for development, clone [the GitHub repo](https://github.com/flother/Blake.novaextension), open the code in Nova, and select _Activate Project as Extension_ from the _Extensions_ menu. Any changes you make to the code will be reflected in the extension for the duration of your Nova session.\n\n# Preferences\n\nBy default Flake8 will be run using `/usr/bin/env flake8`, and Black using `/usr/bin/env black`. However you can configure this either for one particular project or for all Python projects within Nova.\n\n- To configure an individual project: select _Project Settings..._ from the _Project_ menu, and look for the Blake environment\n- To configure all Python projects: select _Extension Library..._ from the _Extensions_ menu, look for Blake under _Installed Extensions_ in the sidebar, and click _Settings_\n\nAn individual project's settings will override the global preferences. Blake's preferences also allow you to:\n\n- Format your source files every time you save (off by default)\n- Set preferred maximum line length (default unset, meaning Black decides)\n- Use [Black's preview style](https://black.readthedocs.io/en/stable/the_black_code_style/future_style.html#preview-style) (off by default)\n\nFor further configuration, you can [configure Flake8](https://flake8.pycqa.org/en/latest/user/configuration.html) and [set your Black preferences](https://black.readthedocs.io/en/stable/usage_and_configuration/the_basics.html#configuration-via-a-file) using the standard config files.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflother%2Fblake.novaextension","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflother%2Fblake.novaextension","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflother%2Fblake.novaextension/lists"}