barbosa / clorox Goto Github PK
View Code? Open in Web Editor NEWRemove all the cruft from Xcode's file headers.
Home Page: https://pypi.python.org/pypi/clorox
License: MIT License
Remove all the cruft from Xcode's file headers.
Home Page: https://pypi.python.org/pypi/clorox
License: MIT License
That way we will be good to go with danger-clorox
, where the idea is to pass the modified_files
from PRs as an argument to its execution.
I really enjoy Clorox and we even enforce it's usage using the danger plugin, however I have some files with trailing whitespaces/newlines before the actual code so when I run it these files start being flagged as with errors due to the SwiftLint Leading Whitespace rule.
How do you feel about adding an option to enable the complete removal of leading whitespace?
Thanks for the awesome job so far! ๐
Actually, the pip its not available in every macOS installation as it says on the readme.
So if you need to install it just use this command:
sudo easy_install pip
Thanks! ๐
... with first output format being json
//
// MyFile.swift
// MyCompany
//
// Created by John Appleseed on 12/18/15.
// Copyright (c) 2015 MyCompany. All rights reserved.
//
import Foundation
Whenever I try to run clorox I get the following error:
$ clorox --path ProjectX
Traceback (most recent call last):
File "/usr/local/bin/clorox", line 9, in <module>
load_entry_point('clorox==0.5', 'console_scripts', 'clorox')()
File "/usr/local/Cellar/python3/3.4.2_1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/setuptools-9.1-py3.4.egg/pkg_resources/__init__.py", line 474, in load_entry_point
File "/usr/local/Cellar/python3/3.4.2_1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/setuptools-9.1-py3.4.egg/pkg_resources/__init__.py", line 2569, in load_entry_point
File "/usr/local/Cellar/python3/3.4.2_1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/setuptools-9.1-py3.4.egg/pkg_resources/__init__.py", line 2260, in load
File "/usr/local/lib/python3.4/site-packages/clorox/clorox.py", line 88
print 'You must provide a directory to be cleaned using the --dir option'
^
SyntaxError: Missing parentheses in call to 'print'
Environment
Reproducible
Am I doing something wrong?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.