Skip to content

Added a test for license checking of code files. Closes #454.#477

Merged
esc24 merged 1 commit into
SciTools:masterfrom
pelson:license_header_check
Apr 30, 2013
Merged

Added a test for license checking of code files. Closes #454.#477
esc24 merged 1 commit into
SciTools:masterfrom
pelson:license_header_check

Conversation

@pelson

@pelson pelson commented Apr 25, 2013

Copy link
Copy Markdown
Member

No description provided.

@pelson

pelson commented Apr 25, 2013

Copy link
Copy Markdown
Member Author

Closes #454.

Comment thread lib/iris/tests/test_coding_standards.py Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Vertical alignment?

@pelson

pelson commented Apr 26, 2013

Copy link
Copy Markdown
Member Author

Thanks @esc24. Done.

Comment thread lib/iris/tests/test_coding_standards.py Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Could you put the directory name in the message?

@pelson

pelson commented Apr 26, 2013

Copy link
Copy Markdown
Member Author

Ok, thanks @esc24 - I think that is everything. I'll squash the commits when you're happy for me to do so.

Comment thread lib/iris/tests/test_coding_standards.py Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I'm still getting an error: fatal: '/path/to/iris' is outside repository when running the code from outside the repository. I know it's a corner case, but it appears to be related to my iris directory being a symlink. If you remove the REPO_DIR from the list of args, problem solved. I think this is fine as you're now setting the cwd to be REPO_DIR.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Thanks @esc24 - there are some real subtitles here. I'll remove the REPO_DIR as you suggest.

@pelson

pelson commented Apr 26, 2013

Copy link
Copy Markdown
Member Author

Thanks @esc24 - rebased.

@ghost ghost assigned esc24 Apr 29, 2013
esc24 added a commit that referenced this pull request Apr 30, 2013
Added a test for license checking of code files. Closes #454.
@esc24 esc24 merged commit b221421 into SciTools:master Apr 30, 2013

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

2011? 😕

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I didn't believe it was 2010, but I also didn't check. It might have been 2012 even...

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Ok, so git whatchanged says it was 2012...:

$> git whatchanged lib/iris/tests/experimental/test_abf.py

I'll submit a PR.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

See #483.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This should just be 2013 (i.e. no 2012)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

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.

3 participants