pass the file name (if any) to black via the ‘--stdin-filename’ command line flag. it will be used to discover the project root directory and hence the configuration file (see find_project_root() callers in the black sources), instead of the default behaviour:
pass the file name (if any) to black via the ‘--stdin-filename’ command line flag. it will be used to discover the project root directory and hence the configuration file (see find_project_root() callers in the black sources), instead of the default behaviour:
closes #13.