Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#256 regexpやglobにエスケープ処理を追加 #257

Merged
merged 3 commits into from
Jan 23, 2019
Merged

#256 regexpやglobにエスケープ処理を追加 #257

merged 3 commits into from
Jan 23, 2019

Conversation

pachicobue
Copy link
Contributor

ローカルのフォーマッタのせいでdiffが荒れてしまったのは
申し訳ないです

def construct_relationship_of_files(paths: List[pathlib.Path], directory: pathlib.Path, format: str) -> Dict[str, Dict[str, pathlib.Path]]:
tests = collections.defaultdict(dict) # type: Dict[str, Dict[str, pathlib.Path]]
# type: Dict[str, Dict[str, pathlib.Path]]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ここなんだかまずそう
ここだけでいいのでフォーマッタを抑制できませんか?

@kmyk
Copy link
Member

kmyk commented Jan 23, 2019

%s%e\%s\%e にされてしまうのが悪そうですね

@kmyk
Copy link
Member

kmyk commented Jan 23, 2019

.replace('\\%', '%') するのが正しそうです

@kmyk
Copy link
Member

kmyk commented Jan 23, 2019

良さそう。マージします

@kmyk kmyk merged commit 3b661b0 into online-judge-tools:master Jan 23, 2019
@kmyk kmyk mentioned this pull request Jan 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants