You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.
The grammar selector detects a "Snakefile" as source.python, but it should be source.yaml. This causes issues with linters and autoformatters like python-black, which should not be run for Snakefiles.
Steps to Reproduce
Generate a file called "Snakefile" with the following content:
Copied from atom/atom#20382
Description
https://snakemake.readthedocs.io/en/stable/ is a popular tool in data science. It parses so-called "Snakefile"s which are similar to "Makefile"s.
The grammar selector detects a "Snakefile" as source.python, but it should be source.yaml. This causes issues with linters and autoformatters like python-black, which should not be run for Snakefiles.
Steps to Reproduce
Expected behavior:
The grammar selector should detect a "Snakefile" as source.yaml.
Actual behavior:
The grammar selector detects a "Snakefile" as source.python.
Reproduces how often:
Always.
Versions
Atom : 1.43.0
Electron: 4.2.7
Chrome : 69.0.3497.128
Node : 10.11.0
The text was updated successfully, but these errors were encountered: